Commit 64ad1bfd authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] ide: remove unused ide_[dma,pio]_ops_t

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5f2d046a
...@@ -796,31 +796,6 @@ typedef struct ide_drive_s { ...@@ -796,31 +796,6 @@ typedef struct ide_drive_s {
struct gendisk *disk; struct gendisk *disk;
} ide_drive_t; } ide_drive_t;
typedef struct ide_pio_ops_s {
void (*ata_input_data)(ide_drive_t *, void *, u32);
void (*ata_output_data)(ide_drive_t *, void *, u32);
void (*atapi_input_bytes)(ide_drive_t *, void *, u32);
void (*atapi_output_bytes)(ide_drive_t *, void *, u32);
} ide_pio_ops_t;
typedef struct ide_dma_ops_s {
/* insert dma operations here! */
int (*ide_dma_read)(ide_drive_t *drive);
int (*ide_dma_write)(ide_drive_t *drive);
int (*ide_dma_begin)(ide_drive_t *drive);
int (*ide_dma_end)(ide_drive_t *drive);
int (*ide_dma_check)(ide_drive_t *drive);
int (*ide_dma_on)(ide_drive_t *drive);
int (*ide_dma_off_quietly)(ide_drive_t *drive);
int (*ide_dma_test_irq)(ide_drive_t *drive);
int (*ide_dma_host_on)(ide_drive_t *drive);
int (*ide_dma_host_off)(ide_drive_t *drive);
int (*ide_dma_verbose)(ide_drive_t *drive);
int (*ide_dma_lostirq)(ide_drive_t *drive);
int (*ide_dma_timeout)(ide_drive_t *drive);
} ide_dma_ops_t;
/* /*
* mapping stuff, prepare for highmem... * mapping stuff, prepare for highmem...
* *
...@@ -913,15 +888,11 @@ typedef struct hwif_s { ...@@ -913,15 +888,11 @@ typedef struct hwif_s {
// u8 (*ratefilter)(ide_drive_t *, u8); // u8 (*ratefilter)(ide_drive_t *, u8);
#endif #endif
#if 0
ide_pio_ops_t *pioops;
#else
void (*ata_input_data)(ide_drive_t *, void *, u32); void (*ata_input_data)(ide_drive_t *, void *, u32);
void (*ata_output_data)(ide_drive_t *, void *, u32); void (*ata_output_data)(ide_drive_t *, void *, u32);
void (*atapi_input_bytes)(ide_drive_t *, void *, u32); void (*atapi_input_bytes)(ide_drive_t *, void *, u32);
void (*atapi_output_bytes)(ide_drive_t *, void *, u32); void (*atapi_output_bytes)(ide_drive_t *, void *, u32);
#endif
int (*ide_dma_read)(ide_drive_t *drive); int (*ide_dma_read)(ide_drive_t *drive);
int (*ide_dma_write)(ide_drive_t *drive); int (*ide_dma_write)(ide_drive_t *drive);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment