linux-loongson/drivers/ata/pata_parport
Damien Le Moal a4daf088a7 ata: libata-eh: Simplify reset operation management
Introduce struct ata_reset_operations to aggregate in a single structure
the definitions of the 4 reset methods (prereset, softreset, hardreset
and postreset) for a port. This new structure is used in struct ata_port
to define the reset methods for a regular port (reset field) and for a
port-multiplier port (pmp_reset field). A pointer to either of these
fields replaces the 4 reset method arguments passed to ata_eh_recover()
and ata_eh_reset().

The definition of the reset methods for all drivers is changed to use
the reset and pmp_reset fields in struct ata_port_operations.

A large number of files is modifed, but no functional changes are
introduced.

Suggested-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20250716020315.235457-3-dlemoal@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
2025-07-16 09:31:43 +02:00
..
aten.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
bpck6.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
bpck.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
comm.c ata: pata_parport: Fix code style issues 2023-09-15 11:37:30 +09:00
dstr.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
epat.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
epia.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
fit2.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
fit3.c ata: pata_parport: fit3: implement IDE command set registers 2023-10-10 14:42:22 +09:00
friq.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
frpw.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
kbic.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
Kconfig ata: pata_parport-bpck6: Remove dependency on 64BIT 2023-03-28 09:24:32 +09:00
ktti.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
Makefile
on20.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
on26.c ata: pata_parport: Add missing protocol modules description 2023-07-17 08:30:41 +09:00
pata_parport.c ata: libata-eh: Simplify reset operation management 2025-07-16 09:31:43 +02:00
pata_parport.h ata: pata_parport: move pata_parport.h to drivers/ata/pata_parport 2023-03-23 10:29:25 +09:00