diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-23 15:16:53 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-24 22:09:38 -0400 |
commit | 1ffc151fcddf524d0c76709d7e7a2af0255acb6b (patch) | |
tree | a13ad1dd628fe302ed64672ef282c21d31f251b9 /drivers/parisc | |
parent | b63b133165b876838e8685350ef469620f4abd99 (diff) | |
download | linux-stable-1ffc151fcddf524d0c76709d7e7a2af0255acb6b.tar.gz linux-stable-1ffc151fcddf524d0c76709d7e7a2af0255acb6b.tar.bz2 linux-stable-1ffc151fcddf524d0c76709d7e7a2af0255acb6b.zip |
libata: assume no device is attached if both IDENTIFYs are aborted
This is to fix bugzilla #10254. QSI cdrom attached to pata_sis as
secondary master appears as phantom device for the slave.
Interestingly, instead of not setting DRQ after IDENTIFY which
triggers NODEV_HINT, it aborts both IDENTIFY and IDENTIFY PACKET which
makes EH retry.
Modify EH such that it assumes no device is attached if both flavors
of IDENTIFY are aborted by the device. There really isn't much point
in retrying when the device actively aborts the commands.
While at it, convert NODEV detection message to ata_dev_printk() to
help debugging obscure detection problems.
This problem was reported by Jan Bücken.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Jan Bücken <jb.faq@gmx.de>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions