aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:54 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:54 -0400
commit1823649b5abb77ffe638178bc5253249d3ecd17d (patch)
tree154d876b89cf010568d18105913c7fbca8d7cba9 /include/linux/ide.h
parent88a72109b2256bf2974f324a8f890b4a06faf7e9 (diff)
ide: add ide_read_bcount_and_ireason() helper
Add ide_read_bcount_and_ireason() helper and use it instead of ->INB in {cdrom_newpc,ide_pc}_intr(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 7890768d03ed..fd05758e6995 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -958,6 +958,7 @@ extern void SELECT_DRIVE(ide_drive_t *);
958void SELECT_MASK(ide_drive_t *, int); 958void SELECT_MASK(ide_drive_t *, int);
959 959
960u8 ide_read_error(ide_drive_t *); 960u8 ide_read_error(ide_drive_t *);
961void ide_read_bcount_and_ireason(ide_drive_t *, u16 *, u8 *);
961 962
962extern int drive_is_ready(ide_drive_t *); 963extern int drive_is_ready(ide_drive_t *);
963 964