]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
libata: separate out ata_std_postreset() from ata_sff_postreset()
authorTejun Heo <htejun@gmail.com>
Mon, 7 Apr 2008 13:47:18 +0000 (22:47 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:22 +0000 (15:44 -0400)
commit203c75b8245c5386044721d9c5eda5c6b71b3d14
tree5a8c446c483a77dc86aca145b0b38c4a2b410dfa
parent0aa1113d544226bc2c4a20d6ac1d71170512a361
libata: separate out ata_std_postreset() from ata_sff_postreset()

Separate out generic ATA portion from ata_sff_postreset() into
ata_std_postreset() and implement ata_sff_postreset() using the std
version.

ata_base_port_ops now has ata_std_postreset() for its postreset and
ata_sff_port_ops overrides it to ata_sff_postreset().

This change affects pdc_adma, ahci, sata_fsl and sata_sil24.  pdc_adma
now specifies postreset to ata_sff_postreset() explicitly.  sata_fsl
and sata_sil24 now use ata_std_postreset() which makes no difference
to them.  ahci now calls ata_std_postreset() from its own postreset
method, which causes no behavior difference.

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