libata: handle SEMB signature better
authorTejun Heo <tj@kernel.org>
Tue, 14 Apr 2009 21:21:10 +0000 (06:21 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 16 Apr 2009 19:21:00 +0000 (15:21 -0400)
commit79b42babbac2a5a522b8e269fb2811b6e1063030
tree24d9840d231451af8179c34f93be39c5cc737135
parent35c80d5f400f68f2eccf3069d1c068e154bde9c9
libata: handle SEMB signature better

WDC WD1600JS-62MHB5 successfully hits the window between ATA/ATAPI-7
and Serial ATA II standards and reports 3c/c3 signature which now is
assigned to SEMB.  Make ata_dev_classify() report ATA_DEV_SEMB on the
sig and let ata_dev_read_id() work around it by trying IDENTIFY once.

This fixes bko#11579.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: David Haun <drhaun88@gmail.com>
Reported-by: Lars Wirzenius <liw@liw.fi>
Reported-by: Juan Manuel <jmcarranza@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c