aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorAnton Salnikov <asalnikov@ru.mvista.com>2008-02-05 20:57:48 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-05 20:57:48 -0500
commit7c7e92a9268965e08bba853ecdb94fa55e886741 (patch)
tree62d4be36537b8456ef9d09c7deb0b44204f35562 /include/linux/ide.h
parentb2a53bc636b0e7e9ce4c899ad605432339ef5861 (diff)
Palmchip BK3710 IDE driver
This is Palmchip BK3710 IDE controller support. The IDE controller logic supports PIO, MultiWord-DMA and Ultra-DMA modes. Supports interface to Compact Flash (CF) configured in True-IDE mode. Bart: - remove dead code - fix ide_hwif_setup_dma() build problem Signed-off-by: Anton Salnikov <asalnikov@ru.mvista.com> Reviewed-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Reviewed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 367c17084a28..ad75e703d14b 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -173,7 +173,7 @@ enum { ide_unknown, ide_generic, ide_pci,
173 ide_rz1000, ide_trm290, 173 ide_rz1000, ide_trm290,
174 ide_cmd646, ide_cy82c693, ide_4drives, 174 ide_cmd646, ide_cy82c693, ide_4drives,
175 ide_pmac, ide_etrax100, ide_acorn, 175 ide_pmac, ide_etrax100, ide_acorn,
176 ide_au1xxx, ide_forced 176 ide_au1xxx, ide_palm3710, ide_forced
177}; 177};
178 178
179typedef u8 hwif_chipset_t; 179typedef u8 hwif_chipset_t;
@@ -1014,7 +1014,8 @@ extern int __ide_pci_register_driver(struct pci_driver *driver, struct module *o
1014void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int, u8 *); 1014void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int, u8 *);
1015void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *); 1015void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *);
1016 1016
1017#ifdef CONFIG_BLK_DEV_IDEDMA_PCI 1017/* FIXME: palm_bk3710 uses BLK_DEV_IDEDMA_PCI without BLK_DEV_IDEPCI! */
1018#if defined(CONFIG_BLK_DEV_IDEPCI) && defined(CONFIG_BLK_DEV_IDEDMA_PCI)
1018void ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); 1019void ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
1019#else 1020#else
1020static inline void ide_hwif_setup_dma(ide_hwif_t *hwif, 1021static inline void ide_hwif_setup_dma(ide_hwif_t *hwif,