ide: add ide_read_bcount_and_ireason() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:54 +0000 (19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:54 +0000 (19:55 +0200)
commit1823649b5abb77ffe638178bc5253249d3ecd17d
tree154d876b89cf010568d18105913c7fbca8d7cba9
parent88a72109b2256bf2974f324a8f890b4a06faf7e9
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>
drivers/ide/ide-atapi.c
drivers/ide/ide-cd.c
drivers/ide/ide-iops.c
include/linux/ide.h