aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index a23ae25d7da8..e5fa5e868d67 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -491,6 +491,7 @@ typedef struct hwif_s {
491 491
492 void (*exec_command)(struct hwif_s *, u8); 492 void (*exec_command)(struct hwif_s *, u8);
493 u8 (*read_status)(struct hwif_s *); 493 u8 (*read_status)(struct hwif_s *);
494 u8 (*read_altstatus)(struct hwif_s *);
494 u8 (*read_sff_dma_status)(struct hwif_s *); 495 u8 (*read_sff_dma_status)(struct hwif_s *);
495 496
496 void (*tf_load)(ide_drive_t *, struct ide_task_s *); 497 void (*tf_load)(ide_drive_t *, struct ide_task_s *);
@@ -1363,13 +1364,6 @@ static inline void ide_set_irq(ide_drive_t *drive, int on)
1363 hwif->io_ports.ctl_addr); 1364 hwif->io_ports.ctl_addr);
1364} 1365}
1365 1366
1366static inline u8 ide_read_altstatus(ide_drive_t *drive)
1367{
1368 ide_hwif_t *hwif = drive->hwif;
1369
1370 return hwif->INB(hwif->io_ports.ctl_addr);
1371}
1372
1373static inline u8 ide_read_error(ide_drive_t *drive) 1367static inline u8 ide_read_error(ide_drive_t *drive)
1374{ 1368{
1375 ide_hwif_t *hwif = drive->hwif; 1369 ide_hwif_t *hwif = drive->hwif;