aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index b6c4942fde11..78892e2a432c 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1443,7 +1443,8 @@ ide_startstop_t ide_dma_intr(ide_drive_t *);
1443int ide_allocate_dma_engine(ide_hwif_t *); 1443int ide_allocate_dma_engine(ide_hwif_t *);
1444void ide_release_dma_engine(ide_hwif_t *); 1444void ide_release_dma_engine(ide_hwif_t *);
1445 1445
1446int ide_build_sglist(ide_drive_t *, struct ide_cmd *); 1446int ide_dma_prepare(ide_drive_t *, struct ide_cmd *);
1447
1447void ide_destroy_dmatable(ide_drive_t *); 1448void ide_destroy_dmatable(ide_drive_t *);
1448 1449
1449#ifdef CONFIG_BLK_DEV_IDEDMA_SFF 1450#ifdef CONFIG_BLK_DEV_IDEDMA_SFF
@@ -1477,8 +1478,8 @@ static inline void ide_check_dma_crc(ide_drive_t *drive) { ; }
1477static inline ide_startstop_t ide_dma_intr(ide_drive_t *drive) { return ide_stopped; } 1478static inline ide_startstop_t ide_dma_intr(ide_drive_t *drive) { return ide_stopped; }
1478static inline ide_startstop_t ide_dma_timeout_retry(ide_drive_t *drive, int error) { return ide_stopped; } 1479static inline ide_startstop_t ide_dma_timeout_retry(ide_drive_t *drive, int error) { return ide_stopped; }
1479static inline void ide_release_dma_engine(ide_hwif_t *hwif) { ; } 1480static inline void ide_release_dma_engine(ide_hwif_t *hwif) { ; }
1480static inline int ide_build_sglist(ide_drive_t *drive, 1481static inline int ide_dma_prepare(ide_drive_t *drive,
1481 struct ide_cmd *cmd) { return 0; } 1482 struct ide_cmd *cmd) { return 1; }
1482static inline void ide_destroy_dmatable(ide_drive_t *drive) { ; } 1483static inline void ide_destroy_dmatable(ide_drive_t *drive) { ; }
1483#endif /* CONFIG_BLK_DEV_IDEDMA */ 1484#endif /* CONFIG_BLK_DEV_IDEDMA */
1484 1485