diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-13 17:47:50 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-13 17:47:50 +0200 |
commit | 75d7d963e3dcf8a1410000ab246921709e276cd9 (patch) | |
tree | dec16e18a5848d351f8572d2418eea09312756c0 /include/linux/ide.h | |
parent | 0b46ff2ea2d817dc7883b80cd4e05ce41cce9158 (diff) | |
download | linux-stable-75d7d963e3dcf8a1410000ab246921709e276cd9.tar.gz linux-stable-75d7d963e3dcf8a1410000ab246921709e276cd9.tar.bz2 linux-stable-75d7d963e3dcf8a1410000ab246921709e276cd9.zip |
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/ide.h')
-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 *); #ifdef CONFIG_BLK_DEV_IDEDMA int __ide_dma_bad_drive(ide_drive_t *); -int __ide_dma_good_drive(ide_drive_t *); u8 ide_find_dma_mode(ide_drive_t *, u8); |