[PATCH] libata: make ata_dev_knobble() per-device
authorTejun Heo <htejun@gmail.com>
Sun, 12 Feb 2006 14:32:58 +0000 (23:32 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 12 Feb 2006 19:29:10 +0000 (14:29 -0500)
commit8eabd02c246b808e0e27c3ee9ea17d0349efb06d
treef628dc88f1ccf37dbab98d32b19af2336baaa210
parent61eb066affc02e16c548aef8b876c49c84113f40
[PATCH] libata: make ata_dev_knobble() per-device

ata_dev_knobble() unconditionally used the first device of the port to
determine whether a device is bridged or not.  This causes bridge
limit to be incorrectly applied or unapplied for hosts with slave
devices (e.g. ata_piix).

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