-
- Downloads
libata: implement and use sata_std_hardreset()
Implement sata_std_hardreset(), which simply wraps around
sata_link_hardreset(). sata_std_hardreset() becomes new standard
hardreset method for sata_port_ops and sata_sff_hardreset() moves from
ata_base_port_ops to ata_sff_port_ops, which is where it really
belongs.
ata_is_builtin_hardreset() is added so that both
ata_std_error_handler() and ata_sff_error_handler() skip both builtin
hardresets if SCR isn't accessible.
piix_sidpr_hardreset() in ata_piix.c is identical to
sata_std_hardreset() in functionality and got replaced with the
standard function.
Signed-off-by:
Tejun Heo <htejun@gmail.com>
Showing
- drivers/ata/ata_piix.c 1 addition, 26 deletionsdrivers/ata/ata_piix.c
- drivers/ata/libata-core.c 29 additions, 1 deletiondrivers/ata/libata-core.c
- drivers/ata/libata-eh.c 2 additions, 5 deletionsdrivers/ata/libata-eh.c
- drivers/ata/libata-sff.c 4 additions, 5 deletionsdrivers/ata/libata-sff.c
- drivers/ata/libata.h 9 additions, 0 deletionsdrivers/ata/libata.h
- include/linux/libata.h 2 additions, 0 deletionsinclude/linux/libata.h
Loading
Please register or sign in to comment