aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-13 11:47:50 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-13 11:47:50 -0400
commit75d7d963e3dcf8a1410000ab246921709e276cd9 (patch)
treedec16e18a5848d351f8572d2418eea09312756c0 /include
parent0b46ff2ea2d817dc7883b80cd4e05ce41cce9158 (diff)
icside: use ide_tune_dma()
* Add "good DMA drives" hack for icside to ide-dma.c::ide_find_dma_mode() (in the long-term it should be either removed or generalized for all hosts). * Use ide_tune_dma() in icside.c::icside_dma_check(). This results in the following changes in behavior: - pre-EIDE SWDMA modes are now also respected - drive->autodma is checked instead of hwif->autodma (doesn't really matter as icside sets both to "1") * Make ide-dma.c::__ide_dma_good_drive() static and drop "__" prefix. Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 6bb621203f30..a7d8b4bc7681 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1296,7 +1296,6 @@ int ide_in_drive_list(struct hd_driveid *, const struct drive_list_entry *);
1296 1296
1297#ifdef CONFIG_BLK_DEV_IDEDMA 1297#ifdef CONFIG_BLK_DEV_IDEDMA
1298int __ide_dma_bad_drive(ide_drive_t *); 1298int __ide_dma_bad_drive(ide_drive_t *);
1299int __ide_dma_good_drive(ide_drive_t *);
1300 1299
1301u8 ide_find_dma_mode(ide_drive_t *, u8); 1300u8 ide_find_dma_mode(ide_drive_t *, u8);
1302 1301