339530613a7f985fe1fdaf6a0988abaaa3e2a98d
[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                 .vendor         = PCI_VENDOR_ID_CYRIX,
17                 .device         = PCI_DEVICE_ID_CYRIX_5510,
18                 .name           = "Cyrix 5510",
19                 .init_chipset   = init_chipset_cs5520,
20                 .init_setup_dma = cs5520_init_setup_dma,
21                 .init_hwif      = init_hwif_cs5520,
22                 .isa_ports      = 1,
23                 .channels       = 2,
24                 .autodma        = AUTODMA,
25                 .bootable       = ON_BOARD,
26         },
27         {
28                 .vendor         = PCI_VENDOR_ID_CYRIX,
29                 .device         = PCI_DEVICE_ID_CYRIX_5520,
30                 .name           = "Cyrix 5520",
31                 .init_chipset   = init_chipset_cs5520,
32                 .init_setup_dma = cs5520_init_setup_dma,
33                 .init_hwif      = init_hwif_cs5520,
34                 .isa_ports      = 1,
35                 .channels       = 2,
36                 .autodma        = AUTODMA,
37                 .bootable       = ON_BOARD,
38         }
39 };
40
41
42 #endif /* CS5520_H */
43
44