diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:54 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:54 -0400 |
commit | 1823649b5abb77ffe638178bc5253249d3ecd17d (patch) | |
tree | 154d876b89cf010568d18105913c7fbca8d7cba9 /include/linux | |
parent | 88a72109b2256bf2974f324a8f890b4a06faf7e9 (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')
-rw-r--r-- | include/linux/ide.h | 1 |
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 *); | |||
958 | void SELECT_MASK(ide_drive_t *, int); | 958 | void SELECT_MASK(ide_drive_t *, int); |
959 | 959 | ||
960 | u8 ide_read_error(ide_drive_t *); | 960 | u8 ide_read_error(ide_drive_t *); |
961 | void ide_read_bcount_and_ireason(ide_drive_t *, u16 *, u8 *); | ||
961 | 962 | ||
962 | extern int drive_is_ready(ide_drive_t *); | 963 | extern int drive_is_ready(ide_drive_t *); |
963 | 964 | ||