James Bottomley 855d854a33 libata: fix boot panic with SATAPI devices on non-SFF HBAs
The kernel now panics reliably on boot if you have a SATAPI device
connected.

The problem was introduced by the libata merge trying to pull out all
the SFF code into a separate module.  Unfortunately, if you're a satapi
device you usually need to call atapi_request_sense, which has a bare
invocation of a SFF callback which is NULL on non-SFF HBAs.  Fix this by
making the call conditional.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-18 11:20:42 -07:00
..
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:25 -04:00
2008-04-17 15:44:25 -04:00
2008-04-17 15:44:25 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-01-23 05:24:15 -05:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2007-07-02 10:17:42 -04:00