ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / ide / pci / sl82c105.h
1 #ifndef W82C105_H
2 #define W82C105_H
3
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
7
8 static unsigned int init_chipset_sl82c105(struct pci_dev *, const char *);
9 static void init_hwif_sl82c105(ide_hwif_t *);
10 static void init_dma_sl82c105(ide_hwif_t *, unsigned long);
11
12 static ide_pci_device_t sl82c105_chipsets[] __devinitdata = {
13         {       /* 0 */
14                 .vendor         = PCI_VENDOR_ID_WINBOND,
15                 .device         = PCI_DEVICE_ID_WINBOND_82C105,
16                 .name           = "W82C105",
17                 .init_chipset   = init_chipset_sl82c105,
18                 .init_iops      = NULL,
19                 .init_hwif      = init_hwif_sl82c105,
20                 .init_dma       = init_dma_sl82c105,
21                 .channels       = 2,
22                 .autodma        = NOAUTODMA,
23                 .enablebits     = {{0x40,0x01,0x01}, {0x40,0x10,0x10}},
24                 .bootable       = ON_BOARD,
25                 .extra          = 0,
26         },{
27                 .vendor         = 0,
28                 .device         = 0,
29                 .channels       = 0,
30                 .bootable       = EOL,
31         }
32 };
33
34 #endif /* W82C105_H */