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-02-05 09:44:23 -08:00
2008-04-11 12:07:05 +02:00
2008-04-16 21:09:35 -07:00
2008-03-15 19:17:12 -07:00
2008-03-03 10:47:13 -08:00
2008-04-17 20:05:42 +02:00
2008-02-26 14:12:09 +09:00
2008-04-07 13:14:22 -07:00
2008-03-04 16:35:12 -08:00
2008-04-04 18:36:46 +02:00