diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-11 12:19:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-11 12:19:22 -0500 |
commit | eedcdefb1ad75de9cc0889b247524be64cc244ef (patch) | |
tree | 763c742fe2ef0f109af364fca266f022739ef8bc /include | |
parent | 9585ca02f8f9e844b64e7ff4d167ccc1390a99ab (diff) | |
parent | 467390a2a50493332ddc21eb806094b1829c1161 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
ide: remove stale comment from ide-lib.c
ide: fix comment in init_irq()
ide: ide_init_port() bugfix
ide-disk: fix flush requests (take 2)
ide: introduce CONFIG_BLK_DEV_IDEDMA_SFF option
bast-ide: build fix
ide-tape: remove never executed code
ide: fix ide/legacy/gayle.c compilation
ide-cd: replace ntohs with generic byteorder macro be16_to_cpu
ide: remove stale version number
pdc202xx_old: always enable burst mode
palm_bk3710: use struct ide_port_info
palm_bk3710: port initialization/probing bugfix
palm_bk3710: fix ide_unregister() usage
palm_bk3710: ide_register_hw() -> ide_device_add()
ide: insert BUG_ON() into __ide_set_handler() (take 2)
cs5520: remove stale comment
ide: another possible ide panic fix for blk-end-request
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index acec99da832d..23fad89292df 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -906,6 +906,8 @@ enum { | |||
906 | IDE_TFLAG_IN_DEVICE, | 906 | IDE_TFLAG_IN_DEVICE, |
907 | /* force 16-bit I/O operations */ | 907 | /* force 16-bit I/O operations */ |
908 | IDE_TFLAG_IO_16BIT = (1 << 30), | 908 | IDE_TFLAG_IO_16BIT = (1 << 30), |
909 | /* ide_task_t was allocated using kmalloc() */ | ||
910 | IDE_TFLAG_DYN = (1 << 31), | ||
909 | }; | 911 | }; |
910 | 912 | ||
911 | struct ide_taskfile { | 913 | struct ide_taskfile { |
@@ -998,8 +1000,7 @@ extern int __ide_pci_register_driver(struct pci_driver *driver, struct module *o | |||
998 | void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int, u8 *); | 1000 | void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int, u8 *); |
999 | void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *); | 1001 | void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *); |
1000 | 1002 | ||
1001 | /* FIXME: palm_bk3710 uses BLK_DEV_IDEDMA_PCI without BLK_DEV_IDEPCI! */ | 1003 | #ifdef CONFIG_BLK_DEV_IDEDMA_PCI |
1002 | #if defined(CONFIG_BLK_DEV_IDEPCI) && defined(CONFIG_BLK_DEV_IDEDMA_PCI) | ||
1003 | void ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); | 1004 | void ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); |
1004 | #else | 1005 | #else |
1005 | static inline void ide_hwif_setup_dma(ide_hwif_t *hwif, | 1006 | static inline void ide_hwif_setup_dma(ide_hwif_t *hwif, |
@@ -1146,7 +1147,7 @@ ide_startstop_t ide_dma_intr(ide_drive_t *); | |||
1146 | int ide_build_sglist(ide_drive_t *, struct request *); | 1147 | int ide_build_sglist(ide_drive_t *, struct request *); |
1147 | void ide_destroy_dmatable(ide_drive_t *); | 1148 | void ide_destroy_dmatable(ide_drive_t *); |
1148 | 1149 | ||
1149 | #ifdef CONFIG_BLK_DEV_IDEDMA_PCI | 1150 | #ifdef CONFIG_BLK_DEV_IDEDMA_SFF |
1150 | extern int ide_build_dmatable(ide_drive_t *, struct request *); | 1151 | extern int ide_build_dmatable(ide_drive_t *, struct request *); |
1151 | extern int ide_release_dma(ide_hwif_t *); | 1152 | extern int ide_release_dma(ide_hwif_t *); |
1152 | extern void ide_setup_dma(ide_hwif_t *, unsigned long); | 1153 | extern void ide_setup_dma(ide_hwif_t *, unsigned long); |
@@ -1157,7 +1158,7 @@ extern void ide_dma_start(ide_drive_t *); | |||
1157 | extern int __ide_dma_end(ide_drive_t *); | 1158 | extern int __ide_dma_end(ide_drive_t *); |
1158 | extern void ide_dma_lost_irq(ide_drive_t *); | 1159 | extern void ide_dma_lost_irq(ide_drive_t *); |
1159 | extern void ide_dma_timeout(ide_drive_t *); | 1160 | extern void ide_dma_timeout(ide_drive_t *); |
1160 | #endif /* CONFIG_BLK_DEV_IDEDMA_PCI */ | 1161 | #endif /* CONFIG_BLK_DEV_IDEDMA_SFF */ |
1161 | 1162 | ||
1162 | #else | 1163 | #else |
1163 | static inline int ide_id_dma_bug(ide_drive_t *drive) { return 0; } | 1164 | static inline int ide_id_dma_bug(ide_drive_t *drive) { return 0; } |
@@ -1171,7 +1172,7 @@ static inline int ide_set_dma(ide_drive_t *drive) { return 1; } | |||
1171 | static inline void ide_check_dma_crc(ide_drive_t *drive) { ; } | 1172 | static inline void ide_check_dma_crc(ide_drive_t *drive) { ; } |
1172 | #endif /* CONFIG_BLK_DEV_IDEDMA */ | 1173 | #endif /* CONFIG_BLK_DEV_IDEDMA */ |
1173 | 1174 | ||
1174 | #ifndef CONFIG_BLK_DEV_IDEDMA_PCI | 1175 | #ifndef CONFIG_BLK_DEV_IDEDMA_SFF |
1175 | static inline void ide_release_dma(ide_hwif_t *drive) {;} | 1176 | static inline void ide_release_dma(ide_hwif_t *drive) {;} |
1176 | #endif | 1177 | #endif |
1177 | 1178 | ||