Fedora Core 2.6.12-1.1398_FC4 kernel
[linux-2.6.git] / drivers / ide / pci / cs5520.h
1 #ifndef CS5520_H
2 #define CS5520_H
3
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
7
8 #define DISPLAY_CS5520_TIMINGS
9
10 static unsigned int init_chipset_cs5520(struct pci_dev *, const char *);
11 static void init_hwif_cs5520(ide_hwif_t *);
12 static void cs5520_init_setup_dma(struct pci_dev *dev, struct ide_pci_device_s *d, ide_hwif_t *hwif);
13
14 static ide_pci_device_t cyrix_chipsets[] __devinitdata = {
15         {
16                 .name           = "Cyrix 5510",
17                 .init_chipset   = init_chipset_cs5520,
18                 .init_setup_dma = cs5520_init_setup_dma,
19                 .init_hwif      = init_hwif_cs5520,
20                 .channels       = 2,
21                 .autodma        = AUTODMA,
22                 .bootable       = ON_BOARD,
23                 .flags          = IDEPCI_FLAG_ISA_PORTS,
24         },
25         {
26                 .name           = "Cyrix 5520",
27                 .init_chipset   = init_chipset_cs5520,
28                 .init_setup_dma = cs5520_init_setup_dma,
29                 .init_hwif      = init_hwif_cs5520,
30                 .channels       = 2,
31                 .autodma        = AUTODMA,
32                 .bootable       = ON_BOARD,
33                 .flags          = IDEPCI_FLAG_ISA_PORTS,
34         }
35 };
36
37
38 #endif /* CS5520_H */
39
40