4 #include <linux/config.h>
10 #define DISPLAY_SIIMAGE_TIMINGS
12 #undef SIIMAGE_VIRTUAL_DMAPIO
13 #undef SIIMAGE_BUFFERED_TASKFILE
14 #undef SIIMAGE_LARGE_DMA
19 #define siiprintk(x...) printk(x)
21 #define siiprintk(x...)
25 #if defined(DISPLAY_SIIMAGE_TIMINGS) && defined(CONFIG_PROC_FS)
26 #include <linux/stat.h>
27 #include <linux/proc_fs.h>
29 static char * print_siimage_get_info(char *, struct pci_dev *, int);
30 static int siimage_get_info(char *, char **, off_t, int);
32 static u8 siimage_proc;
34 static ide_pci_host_proc_t siimage_procs[] __initdata = {
38 .get_info = siimage_get_info,
42 #endif /* DISPLAY_SIIMAGE_TIMINGS && CONFIG_PROC_FS */
44 static unsigned int init_chipset_siimage(struct pci_dev *, const char *);
45 static void init_iops_siimage(ide_hwif_t *);
46 static void init_hwif_siimage(ide_hwif_t *);
47 static void init_dma_siimage(ide_hwif_t *, unsigned long);
49 static ide_pci_device_t siimage_chipsets[] __devinitdata = {
51 .vendor = PCI_VENDOR_ID_CMD,
52 .device = PCI_DEVICE_ID_SII_680,
54 .init_chipset = init_chipset_siimage,
55 .init_iops = init_iops_siimage,
56 .init_hwif = init_hwif_siimage,
57 .init_dma = init_dma_siimage,
60 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
64 .vendor = PCI_VENDOR_ID_CMD,
65 .device = PCI_DEVICE_ID_SII_3112,
66 .name = "SiI3112 Serial ATA",
67 .init_chipset = init_chipset_siimage,
68 .init_iops = init_iops_siimage,
69 .init_hwif = init_hwif_siimage,
70 .init_dma = init_dma_siimage,
73 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
77 .vendor = PCI_VENDOR_ID_CMD,
78 .device = PCI_DEVICE_ID_SII_1210SA,
79 .name = "Adaptec AAR-1210SA",
80 .init_chipset = init_chipset_siimage,
81 .init_iops = init_iops_siimage,
82 .init_hwif = init_hwif_siimage,
83 .init_dma = init_dma_siimage,
86 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
97 #endif /* SIIMAGE_H */