ide: add ->read_sff_dma_status method
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:50 +0000 (19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:50 +0000 (19:55 +0200)
commitb2f951aabc9cc7d5fb987aeec9aef96ccce618a5
treed388e9a44a153cee8395bd7ca9eff63492ff9cfd
parentc97c6aca75fd5f718056fde7cff798b8cbdb07c0
ide: add ->read_sff_dma_status method

Add ->read_sff_dma_status method for reading DMA Status register
and use it instead of ->INB.

While at it:

* Use inb() directly in ns87415.c::ns87415_dma_end().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c
drivers/ide/ide-iops.c
drivers/ide/pci/ns87415.c
drivers/ide/pci/scc_pata.c
include/linux/ide.h