ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[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_iops      = NULL,
22                 .init_hwif      = init_hwif_cs5520,
23                 .isa_ports      = 1,
24                 .channels       = 2,
25                 .autodma        = AUTODMA,
26                 .bootable       = ON_BOARD,
27                 .extra          = 0,
28         },
29         {
30                 .vendor         = PCI_VENDOR_ID_CYRIX,
31                 .device         = PCI_DEVICE_ID_CYRIX_5520,
32                 .name           = "Cyrix 5520",
33                 .init_chipset   = init_chipset_cs5520,
34                 .init_setup_dma = cs5520_init_setup_dma,
35                 .init_iops      = NULL,
36                 .init_hwif      = init_hwif_cs5520,
37                 .isa_ports      = 1,
38                 .channels       = 2,
39                 .autodma        = AUTODMA,
40                 .bootable       = ON_BOARD,
41                 .extra          = 0,
42         }
43 };
44
45
46 #endif /* CS5520_H */
47
48