]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[PATCH] ata_piix: reimplement piix_sata_probe()
authorTejun Heo <htejun@gmail.com>
Tue, 28 Feb 2006 16:25:39 +0000 (01:25 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 3 Mar 2006 20:39:54 +0000 (15:39 -0500)
commitd133ecab8ff1233c2eb3ecb94f7956aa10002300
treef4b508d49bd57d0e8a4e8e5d7975f7513f275413
parentd33f58b883a3f624b9362227bf73fc52a6cbd4b4
[PATCH] ata_piix: reimplement piix_sata_probe()

Reimplement piix_sata_probe() such that it turns on PCS enable bits on
all avaliable ports and check present bits after a while to determine
device presence.  This should help broken BIOSes.  After device
presence detection is complete, PCS enable bits of unoccupied bits are
turned off unless the controller supports AHCI (ICH6/7 docs mandate
all enables bits are always set on AHCI capable controllers).

Note that PCS present bits are ignored on 6300ESB as described in the
datasheet.  This should fix device detection problems reported with
the controller.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/ata_piix.c