Files
kernel-tenderloin-3.0/include/linux
Tejun Heo baa1e78a83 [PATCH] libata: implement ATA_EHI_SETMODE and ATA_EHI_POST_SETMODE
libata EH used to perform ata_set_mode() iff the EH session performed
reset as indicated by ATA_EHI_DID_RESET.  This is incorrect because
->dev_config() called by revalidation is allowed to modify transfer
mode which ata_set_mode() should take care of.  This patch implements
the following two flags.

* ATA_EHI_SETMODE: set during EH to schedule ata_set_mode().  Both new
  device attachment and revalidation set this flag.

* ATA_EHI_POST_SETMODE: set while the device is revalidated after
  ata_set_mode().  Post-setmode revalidation is different from initial
  configuaration and EH revalidation in that ->dev_config() is not
  allowed tune transfer mode.  LLD can use this flag to determine
  whether it's allowed to tune transfer mode.  Note that POST_SETMODE
  ->dev_config() is guaranteed to be preceded by non-POST_SETMODE
  ->dev_config().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-12-01 22:41:31 -05:00
..
2006-09-26 17:40:24 -04:00
2006-10-03 23:01:26 +02:00
2006-10-01 00:39:29 -07:00
2006-09-28 17:53:58 -07:00
2006-10-04 08:31:24 -04:00
2006-10-03 23:01:26 +02:00
2006-10-04 19:32:09 +02:00
2006-10-10 15:37:20 -07:00
2006-10-03 08:04:16 -07:00
2006-07-03 19:44:51 -07:00
2006-09-26 08:48:54 -07:00
2006-06-23 02:07:36 -07:00
2006-10-11 11:14:17 -07:00
2006-09-22 15:18:47 -07:00
2006-06-25 10:01:19 -07:00
2006-07-28 21:02:00 -07:00
2006-10-02 07:57:12 -07:00
2006-09-26 17:40:24 -04:00
2006-09-26 15:38:52 -07:00
2006-09-28 18:02:18 -07:00
2006-09-28 18:02:13 -07:00
2006-10-04 00:31:09 -07:00
2006-09-28 18:02:29 -07:00
2006-10-02 07:57:22 -07:00
2006-10-11 11:14:23 -07:00
2006-10-10 15:37:22 -07:00
2006-08-21 10:02:50 +02:00
2006-10-04 00:31:09 -07:00
2006-10-04 07:55:12 -07:00
2006-10-04 00:31:09 -07:00
2006-09-28 18:02:30 -07:00
2006-11-30 05:24:39 +01:00
2006-11-30 04:53:49 +01:00
2006-11-30 01:14:44 +00:00
2006-07-31 15:44:29 -04:00
2006-10-11 11:14:15 -07:00
2006-11-30 04:40:22 +01:00
2006-09-28 18:02:22 -07:00
2006-11-16 11:43:38 -08:00
2006-10-01 00:39:19 -07:00
2006-10-17 08:18:43 -07:00
2006-11-28 20:59:39 -08:00
2006-08-27 11:01:32 -07:00
2006-08-19 17:44:31 -04:00
2006-10-03 08:03:40 -07:00
2006-06-28 15:54:27 -07:00
2006-11-03 12:27:58 -08:00
2006-07-03 19:48:25 -07:00
2006-10-03 23:01:26 +02:00
2006-10-02 07:57:15 -07:00
2006-06-23 07:42:49 -07:00
2006-10-17 08:18:43 -07:00
2006-06-25 10:01:06 -07:00
2006-11-30 05:24:39 +01:00
2006-06-25 10:01:06 -07:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-06-25 10:01:14 -07:00
2006-10-11 01:45:31 -04:00
2006-10-10 16:15:34 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2006-09-26 08:48:58 -07:00
2006-10-11 11:14:21 -07:00
2006-10-18 20:36:48 -07:00
2006-11-30 05:32:19 +01:00
2006-10-06 08:53:40 -07:00
2006-09-28 17:53:59 -07:00
2006-09-27 08:26:20 -07:00
2006-09-28 18:02:16 -07:00
2006-12-01 14:25:52 -08:00
2006-10-01 00:39:19 -07:00
2006-10-04 07:55:12 -07:00
2006-09-29 09:18:13 -07:00
2006-09-25 16:52:14 -04:00
2006-10-09 14:20:38 -07:00
2006-10-04 00:31:09 -07:00