diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-28 17:44:37 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-28 17:44:37 -0400 |
commit | 16bb69c14a42e64faef1ec5c724ffaca916347a1 (patch) | |
tree | fd9abaf615c57183ad1ce09afd976c4fd1fefbe5 /include | |
parent | c5dd43ec65c1e1e378df043d517d40ed70a32cbe (diff) |
ide: remove ->INS{W,L} and ->OUTS{W,L} methods
* Use ins{w,l}()/outs{w,l}() and __ide_mm_ins{w,l}()/__ide_mm_outs{w,l}()
directly in ata_{in,out}put_data() (by using IDE_HFLAG_MMIO host flag to
decide which I/O ops are required).
* Remove no longer needed ->INS{W,L} and ->OUTS{W,L} methods (ide-h8300,
au1xxx-ide and scc_pata implement their own ->{in,out}put_data methods).
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 8e79875f9872..5ab9773b75fb 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -475,13 +475,9 @@ typedef struct hwif_s { | |||
475 | void (*OUTB)(u8 addr, unsigned long port); | 475 | void (*OUTB)(u8 addr, unsigned long port); |
476 | void (*OUTBSYNC)(ide_drive_t *drive, u8 addr, unsigned long port); | 476 | void (*OUTBSYNC)(ide_drive_t *drive, u8 addr, unsigned long port); |
477 | void (*OUTW)(u16 addr, unsigned long port); | 477 | void (*OUTW)(u16 addr, unsigned long port); |
478 | void (*OUTSW)(unsigned long port, void *addr, u32 count); | ||
479 | void (*OUTSL)(unsigned long port, void *addr, u32 count); | ||
480 | 478 | ||
481 | u8 (*INB)(unsigned long port); | 479 | u8 (*INB)(unsigned long port); |
482 | u16 (*INW)(unsigned long port); | 480 | u16 (*INW)(unsigned long port); |
483 | void (*INSW)(unsigned long port, void *addr, u32 count); | ||
484 | void (*INSL)(unsigned long port, void *addr, u32 count); | ||
485 | 481 | ||
486 | /* dma physical region descriptor table (cpu view) */ | 482 | /* dma physical region descriptor table (cpu view) */ |
487 | unsigned int *dmatable_cpu; | 483 | unsigned int *dmatable_cpu; |