This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / ide / pci / siimage.h
1 #ifndef SIIMAGE_H
2 #define SIIMAGE_H
3
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
7
8 #include <asm/io.h>
9
10 #define DISPLAY_SIIMAGE_TIMINGS
11
12 #undef SIIMAGE_VIRTUAL_DMAPIO
13 #undef SIIMAGE_BUFFERED_TASKFILE
14 #undef SIIMAGE_LARGE_DMA
15
16 #define SII_DEBUG 0
17
18 #if SII_DEBUG
19 #define siiprintk(x...) printk(x)
20 #else
21 #define siiprintk(x...)
22 #endif
23
24 static unsigned int init_chipset_siimage(struct pci_dev *, const char *);
25 static void init_iops_siimage(ide_hwif_t *);
26 static void init_hwif_siimage(ide_hwif_t *);
27
28 static ide_pci_device_t siimage_chipsets[] __devinitdata = {
29         {       /* 0 */
30                 .vendor         = PCI_VENDOR_ID_CMD,
31                 .device         = PCI_DEVICE_ID_SII_680,
32                 .name           = "SiI680",
33                 .init_chipset   = init_chipset_siimage,
34                 .init_iops      = init_iops_siimage,
35                 .init_hwif      = init_hwif_siimage,
36                 .channels       = 2,
37                 .autodma        = AUTODMA,
38                 .bootable       = ON_BOARD,
39         },{     /* 1 */
40                 .vendor         = PCI_VENDOR_ID_CMD,
41                 .device         = PCI_DEVICE_ID_SII_3112,
42                 .name           = "SiI3112 Serial ATA",
43                 .init_chipset   = init_chipset_siimage,
44                 .init_iops      = init_iops_siimage,
45                 .init_hwif      = init_hwif_siimage,
46                 .channels       = 2,
47                 .autodma        = AUTODMA,
48                 .bootable       = ON_BOARD,
49         },{     /* 2 */
50                 .vendor         = PCI_VENDOR_ID_CMD,
51                 .device         = PCI_DEVICE_ID_SII_1210SA,
52                 .name           = "Adaptec AAR-1210SA",
53                 .init_chipset   = init_chipset_siimage,
54                 .init_iops      = init_iops_siimage,
55                 .init_hwif      = init_hwif_siimage,
56                 .channels       = 2,
57                 .autodma        = AUTODMA,
58                 .bootable       = ON_BOARD,
59         }
60 };
61
62 #endif /* SIIMAGE_H */