Tejun Heo
1f7dd3e9d6
[PATCH] libata: check if port is disabled after internal command
...
libata core is being changed to disallow port/device disable on lower
layers. However, some LLDDs (sata_mv) directly disable port on
command failure. This patch makes ata_exec_internal() check whether a
port got disabled after an internal command. If it is, AC_ERR_SYSTEM
is added to err_mask and the port gets re-enabled.
As internal command failure results in device disable for drivers
which don't implement newer reset/EH callbacks, this change results in
no behavior change for single device per port controllers. For
slave-possible LLDDs which disable port on command failure, (1) such
drivers don't exist currently, (2) issuing command to the other device
of once-disabled port shouldn't result in catastrophe even if such
driver exists. So, this should be enough as a temporary measure.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-03-24 09:39:57 -05:00
..
2006-02-27 22:55:14 -06:00
2006-03-12 09:06:57 -06:00
2006-01-09 13:56:42 +00:00
2006-01-26 08:10:08 -05:00
2006-03-12 08:57:29 -06:00
2006-03-22 10:58:05 -08:00
2006-03-05 08:00:47 -06:00
2006-03-12 09:44:17 -06:00
2006-03-14 14:18:01 -06:00
2006-01-01 22:21:50 +01:00
2006-03-19 10:18:42 -06:00
2006-03-19 10:18:42 -06:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2005-12-15 18:41:27 -08:00
2006-02-27 22:55:09 -06:00
2005-12-16 09:51:01 -08:00
2006-03-14 14:18:01 -06:00
2006-02-28 11:20:45 -06:00
2006-03-22 19:56:53 -05:00
2006-01-14 18:27:06 -08:00
2006-03-21 13:07:05 -06:00
2005-12-15 18:41:27 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 15:26:13 -06:00
2006-03-12 09:11:16 -06:00
2005-12-15 18:41:13 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 09:09:00 -08:00
2006-01-26 08:11:13 -05:00
2006-03-12 09:45:56 -06:00
2006-01-14 10:54:54 -06:00
2006-02-22 14:35:52 -08:00
2006-01-12 09:09:00 -08:00
2006-03-12 09:18:47 -06:00
2006-02-05 12:59:29 -06:00
2006-02-27 22:55:02 -06:00
2006-03-12 09:46:11 -06:00
2006-02-01 08:53:09 -08:00
2006-02-27 22:55:05 -06:00
2006-02-12 11:05:44 -06:00
2006-02-27 23:32:39 -06:00
2006-03-22 07:53:59 -08:00
2006-02-04 16:19:08 -06:00
2006-03-14 14:18:01 -06:00
2006-03-21 22:07:13 -05:00
2006-03-23 00:32:03 -05:00
2006-03-24 09:39:57 -05:00
2006-03-22 19:13:54 -05:00
2006-03-21 13:07:05 -06:00
2006-02-07 20:57:14 -05:00
2006-03-22 17:39:38 -08:00
2006-02-12 11:11:09 -06:00
2006-02-12 11:11:09 -06:00
2006-01-09 14:53:55 +11:00
2006-02-27 22:55:09 -06:00
2006-02-27 22:55:08 -06:00
2006-01-12 09:09:05 -08:00
2005-12-15 18:41:27 -08:00
2006-03-12 09:45:43 -06:00
2006-01-12 09:09:00 -08:00
2006-03-12 09:11:16 -06:00
2006-03-07 09:16:01 -06:00
2006-03-22 19:13:54 -05:00
2006-01-26 08:08:26 -05:00
2006-01-12 11:35:15 -06:00
2006-03-22 19:13:54 -05:00
2006-03-22 23:59:46 -05:00
2006-03-21 13:07:05 -06:00
2006-03-21 13:07:05 -06:00
2006-03-22 23:30:34 -05:00
2006-03-24 09:28:33 -05:00
2006-03-21 13:07:05 -06:00
2006-03-22 19:13:54 -05:00
2006-03-21 13:07:05 -06:00
2006-03-23 00:14:36 -05:00
2006-03-21 13:07:05 -06:00
2006-03-22 19:13:54 -05:00
2006-02-27 22:55:02 -06:00
2006-03-02 22:44:06 -06:00
2006-03-21 13:05:45 -06:00
2006-02-27 22:55:02 -06:00
2006-03-19 10:19:14 -06:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:05 -06:00
2006-03-14 14:36:00 -06:00
2006-02-27 23:37:45 -06:00
2006-03-21 13:05:45 -06:00
2006-02-27 22:55:02 -06:00
2006-03-19 10:21:16 -06:00
2006-03-12 09:54:19 -06:00
2006-02-27 22:55:04 -06:00
2006-03-19 10:19:51 -06:00
2006-03-22 10:47:24 -08:00
2006-03-12 09:24:55 -06:00
2006-03-12 09:46:23 -06:00
2006-03-07 14:53:40 -06:00
2005-12-17 10:50:23 -06:00
2006-03-12 09:11:16 -06:00
2006-03-12 09:11:16 -06:00
2005-12-14 19:16:31 -08:00
2005-12-15 18:41:27 -08:00
2006-03-12 08:48:26 -06:00