ide: make ide_dma_timeout() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:46 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:46 +0000 (21:39 +0200)
commitffa15a6915b7f6f6f69b4a66e1100a9c68d11250
tree7893654c44bc570d55c00a682c9725816bd5c285
parentde23ec9ca82357e6d337a2263befb1a65cf19c83
ide: make ide_dma_timeout() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n

Make ide_dma_timeout() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n
and convert {ics,au1xxx-}ide.c to use it.

While at it:
- dump ATA Status register content on error
- use EXPORT_SYMBOL_GPL() to match the rest of SFF DMA functions

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/arm/icside.c
drivers/ide/ide-dma.c
drivers/ide/mips/au1xxx-ide.c
include/linux/ide.h