]> err.no Git - linux-2.6/commit
libata: skip 0xff polling for PATA controllers
authorTejun Heo <htejun@gmail.com>
Thu, 8 Nov 2007 02:20:18 +0000 (11:20 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 8 Nov 2007 18:08:41 +0000 (13:08 -0500)
commit1974e20161a2c097c481d2ff711de7db56cb2cd6
treef2e129f13f222f23f8b9d0de12067bdb1b2cbc79
parentf7fc0ceb4d72ea5c40d50053b68ebecfbd0cc38c
libata: skip 0xff polling for PATA controllers

In a presentation of true workmanship, pata_ali asserts IRQ
permanantly if the TF status register is read more than once when
there's no device attached to the port.

Avoid waiting polling for !0xff if it's PATA.  It's needed only for
some rare SATA devices anyway.

This problem is reported by Luca Tettamanti in bugzilla bug 9298.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Tested-By: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c