4 #include <linux/config.h>
8 #define DISPLAY_VIA_TIMINGS
10 #if defined(DISPLAY_VIA_TIMINGS) && defined(CONFIG_PROC_FS)
11 #include <linux/stat.h>
12 #include <linux/proc_fs.h>
16 static int via_get_info(char *, char **, off_t, int);
18 static ide_pci_host_proc_t via_procs[] __initdata = {
22 .get_info = via_get_info,
26 #endif /* DISPLAY_VIA_TIMINGS && CONFIG_PROC_FS */
28 static unsigned int init_chipset_via82cxxx(struct pci_dev *, const char *);
29 static void init_hwif_via82cxxx(ide_hwif_t *);
30 static void init_dma_via82cxxx(ide_hwif_t *, unsigned long);
32 static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = {
34 .vendor = PCI_VENDOR_ID_VIA,
35 .device = PCI_DEVICE_ID_VIA_82C576_1,
37 .init_chipset = init_chipset_via82cxxx,
39 .init_hwif = init_hwif_via82cxxx,
40 .init_dma = init_dma_via82cxxx,
43 .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
47 .vendor = PCI_VENDOR_ID_VIA,
48 .device = PCI_DEVICE_ID_VIA_82C586_1,
50 .init_chipset = init_chipset_via82cxxx,
52 .init_hwif = init_hwif_via82cxxx,
53 .init_dma = init_dma_via82cxxx,
56 .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
67 #endif /* VIA82CXXX_H */