ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / ide / pci / opti621.h
1 #ifndef OPTI621_H
2 #define OPTI621_H
3
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
7
8 static void init_setup_opti621(struct pci_dev *, ide_pci_device_t *);
9 static void init_hwif_opti621(ide_hwif_t *);
10
11 static ide_pci_device_t opti621_chipsets[] __devinitdata = {
12         {       /* 0 */
13                 .vendor         = PCI_VENDOR_ID_OPTI,
14                 .device         = PCI_DEVICE_ID_OPTI_82C621,
15                 .name           = "OPTI621",
16                 .init_setup     = init_setup_opti621,
17                 .init_chipset   = NULL,
18                 .init_iops      = NULL,
19                 .init_hwif      = init_hwif_opti621,
20                 .channels       = 2,
21                 .autodma        = AUTODMA,
22                 .enablebits     = {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
23                 .bootable       = ON_BOARD,
24                 .extra          = 0,
25         },{     /* 1 */
26                 .vendor         = PCI_VENDOR_ID_OPTI,
27                 .device         = PCI_DEVICE_ID_OPTI_82C825,
28                 .name           = "OPTI621X",
29                 .init_setup     = init_setup_opti621,
30                 .init_chipset   = NULL,
31                 .init_iops      = NULL,
32                 .init_hwif      = init_hwif_opti621,
33                 .channels       = 2,
34                 .autodma        = AUTODMA,
35                 .enablebits     = {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
36                 .bootable       = ON_BOARD,
37                 .extra          = 0,
38         },{
39                 .vendor         = 0,
40                 .device         = 0,
41                 .channels       = 0,
42                 .bootable       = EOL,
43         }
44 };
45
46 #endif /* OPTI621_H */