]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[PATCH] libata: fix ata_std_probe_reset() SATA detection
authorTejun Heo <htejun@gmail.com>
Thu, 2 Feb 2006 09:20:00 +0000 (18:20 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 9 Feb 2006 06:52:53 +0000 (01:52 -0500)
commitb911fc3ae0121ff0b72a52e58823c3f8ac3094d0
treea0cbe5788d973d631fb4e3d1453a54799d54bc9f
parentc18d06f89fd09ee0059c4899e615c471d59af66a
[PATCH] libata: fix ata_std_probe_reset() SATA detection

ap->cbl is initialized during postreset and thus unknown on entry to
ata_std_probe_reset().  This patch makes ata_std_probe_reset() use
ATA_FLAG_SATA flag instead of ap->cbl to detect SATA port.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c