[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)
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>

No differences found