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