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 static void init_dma_opti621(ide_hwif_t *, unsigned long); 11 12 static ide_pci_device_t opti621_chipsets[] __devinitdata = { 13 { /* 0 */ 14 .vendor = PCI_VENDOR_ID_OPTI, 15 .device = PCI_DEVICE_ID_OPTI_82C621, 16 .name = "OPTI621", 17 .init_setup = init_setup_opti621, 18 .init_chipset = NULL, 19 .init_iops = NULL, 20 .init_hwif = init_hwif_opti621, 21 .init_dma = init_dma_opti621, 22 .channels = 2, 23 .autodma = AUTODMA, 24 .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, 25 .bootable = ON_BOARD, 26 .extra = 0, 27 },{ /* 1 */ 28 .vendor = PCI_VENDOR_ID_OPTI, 29 .device = PCI_DEVICE_ID_OPTI_82C825, 30 .name = "OPTI621X", 31 .init_setup = init_setup_opti621, 32 .init_chipset = NULL, 33 .init_iops = NULL, 34 .init_hwif = init_hwif_opti621, 35 .init_dma = init_dma_opti621, 36 .channels = 2, 37 .autodma = AUTODMA, 38 .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, 39 .bootable = ON_BOARD, 40 .extra = 0, 41 },{ 42 .vendor = 0, 43 .device = 0, 44 .channels = 0, 45 .bootable = EOL, 46 } 47 }; 48 49 #endif /* OPTI621_H */ 50