diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-13 11:47:50 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-13 11:47:50 -0400 |
commit | 75d7d963e3dcf8a1410000ab246921709e276cd9 (patch) | |
tree | dec16e18a5848d351f8572d2418eea09312756c0 /include/linux | |
parent | 0b46ff2ea2d817dc7883b80cd4e05ce41cce9158 (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/linux')
-rw-r--r-- | include/linux/ide.h | 1 |
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 |
1298 | int __ide_dma_bad_drive(ide_drive_t *); | 1298 | int __ide_dma_bad_drive(ide_drive_t *); |
1299 | int __ide_dma_good_drive(ide_drive_t *); | ||
1300 | 1299 | ||
1301 | u8 ide_find_dma_mode(ide_drive_t *, u8); | 1300 | u8 ide_find_dma_mode(ide_drive_t *, u8); |
1302 | 1301 | ||