]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata and starting/stopping ATAPI floppy devices
authorOndrej Zary <linux@rainbow-software.org>
Thu, 10 Jan 2008 22:13:19 +0000 (17:13 -0500)
committerJeff Garzik <jeff@garzik.org>
Thu, 10 Jan 2008 22:13:19 +0000 (17:13 -0500)
commit9b8e8de7e59b3a2dab3113d620b52dc8ba890fb3
treed935740d82e28e0579700ceacef2688147890420
parent13cc546be3060324de9d92ebde3bc9dbd950df23
libata and starting/stopping ATAPI floppy devices

Prevent libata from starting/stopping non-ATA devices (like ATAPI floppy
drives) as they don't seem to like it:

sd 1:0:1:0: [sdb] Starting disk
ata2.01: configured for PIO2
sd 1:0:1:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08
sd 1:0:1:0: [sdb] Sense Key : 0x2 [current]
sd 1:0:1:0: [sdb] ASC=0x3a ASCQ=0x0

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c