ide: add struct ide_port_ops (take 2)
* Move hooks for port/host specific methods from ide_hwif_t to 'struct ide_port_ops'. * Add 'const struct ide_port_ops *port_ops' to 'struct ide_port_info' and ide_hwif_t. * Update host drivers and core code accordingly. While at it: * Rename ata66_*() cable detect functions to *_cable_detect() to match the standard naming. (Suggested by Sergei Shtylyov) v2: * Fix build for bast-ide. (Noticed by Andrew Morton) Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
- drivers/ide/arm/bast-ide.c 1 addition, 1 deletiondrivers/ide/arm/bast-ide.c
- drivers/ide/arm/icside.c 11 additions, 2 deletionsdrivers/ide/arm/icside.c
- drivers/ide/arm/palm_bk3710.c 6 additions, 8 deletionsdrivers/ide/arm/palm_bk3710.c
- drivers/ide/cris/ide-cris.c 6 additions, 2 deletionsdrivers/ide/cris/ide-cris.c
- drivers/ide/ide-dma.c 5 additions, 4 deletionsdrivers/ide/ide-dma.c
- drivers/ide/ide-io.c 3 additions, 2 deletionsdrivers/ide/ide-io.c
- drivers/ide/ide-iops.c 18 additions, 10 deletionsdrivers/ide/ide-iops.c
- drivers/ide/ide-lib.c 14 additions, 10 deletionsdrivers/ide/ide-lib.c
- drivers/ide/ide-probe.c 14 additions, 6 deletionsdrivers/ide/ide-probe.c
- drivers/ide/ide.c 2 additions, 1 deletiondrivers/ide/ide.c
- drivers/ide/legacy/ali14xx.c 5 additions, 2 deletionsdrivers/ide/legacy/ali14xx.c
- drivers/ide/legacy/dtc2278.c 5 additions, 1 deletiondrivers/ide/legacy/dtc2278.c
- drivers/ide/legacy/ht6560b.c 7 additions, 6 deletionsdrivers/ide/legacy/ht6560b.c
- drivers/ide/legacy/ide-cs.c 5 additions, 1 deletiondrivers/ide/legacy/ide-cs.c
- drivers/ide/legacy/qd65xx.c 16 additions, 17 deletionsdrivers/ide/legacy/qd65xx.c
- drivers/ide/legacy/umc8672.c 5 additions, 2 deletionsdrivers/ide/legacy/umc8672.c
- drivers/ide/mips/au1xxx-ide.c 9 additions, 7 deletionsdrivers/ide/mips/au1xxx-ide.c
- drivers/ide/pci/aec62xx.c 15 additions, 19 deletionsdrivers/ide/pci/aec62xx.c
- drivers/ide/pci/alim15x3.c 10 additions, 8 deletionsdrivers/ide/pci/alim15x3.c
- drivers/ide/pci/amd74xx.c 8 additions, 5 deletionsdrivers/ide/pci/amd74xx.c
Loading
Please register or sign in to comment