1 #ifndef SLC90E66_H 2 #define SLC90E66_H 3 4 #include <linux/config.h> 5 #include <linux/pci.h> 6 #include <linux/ide.h> 7 8 #define DISPLAY_SLC90E66_TIMINGS 9 10 #define SLC90E66_DEBUG_DRIVE_INFO 0 11 12 #if defined(DISPLAY_SLC90E66_TIMINGS) && defined(CONFIG_PROC_FS) 13 #include <linux/stat.h> 14 #include <linux/proc_fs.h> 15 16 static u8 slc90e66_proc; 17 18 static int slc90e66_get_info(char *, char **, off_t, int); 19 20 static ide_pci_host_proc_t slc90e66_procs[] __initdata = { 21 { 22 .name = "slc90e66", 23 .set = 1, 24 .get_info = slc90e66_get_info, 25 .parent = NULL, 26 }, 27 }; 28 #endif /* defined(DISPLAY_SLC90E66_TIMINGS) && defined(CONFIG_PROC_FS) */ 29 30 static unsigned int init_chipset_slc90e66(struct pci_dev *, const char *); 31 static void init_hwif_slc90e66(ide_hwif_t *); 32 static void init_dma_slc90e66(ide_hwif_t *, unsigned long); 33 34 static ide_pci_device_t slc90e66_chipsets[] __devinitdata = { 35 { /* 0 */ 36 .vendor = PCI_VENDOR_ID_EFAR, 37 .device = PCI_DEVICE_ID_EFAR_SLC90E66_1, 38 .name = "SLC90E66", 39 .init_chipset = init_chipset_slc90e66, 40 .init_iops = NULL, 41 .init_hwif = init_hwif_slc90e66, 42 .init_dma = init_dma_slc90e66, 43 .channels = 2, 44 .autodma = AUTODMA, 45 .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, 46 .bootable = ON_BOARD, 47 .extra = 0, 48 },{ 49 .vendor = 0, 50 .device = 0, 51 .channels = 0, 52 .bootable = EOL, 53 } 54 }; 55 56 #endif /* SLC90E66_H */ 57