]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: kill ata_ehi_schedule_probe()
authorTejun Heo <htejun@gmail.com>
Wed, 23 Jan 2008 15:05:14 +0000 (00:05 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:16 +0000 (15:44 -0400)
commitb558edddb1c42c70a30cfe494984d4be409f7b2b
treeb03275d15675a519de7d4edde709892f885a5fa0
parent8cebf274dd1c955a6e03385a85fd6569ce445946
libata: kill ata_ehi_schedule_probe()

ata_ehi_schedule_probe() was created to hide details of link-resuming
reset magic.  Now that all the softreset workarounds are gone,
scheduling probe is very simple - set probe_mask and request RESET.
Kill ata_ehi_schedule_probe() and open code it.  This also increases
consistency as ata_ehi_schedule_probe() couldn't cover individual
device probings so they were open-coded even when the helper existed.

While at it, define ATA_ALL_DEVICES as mask of all possible devices on
a link and always use it when requesting probe on link level for
simplicity and consistency.  Setting extra bits in the probe_mask
doesn't hurt anybody.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata-pmp.c
drivers/ata/libata-scsi.c
include/linux/libata.h