Merge with Linux 2.5.48.
[linux-2.6/linux-mips.git] / drivers / ide / pci / slc90e66.h
blob3458243aa83c84ca9104050e6bd0b68abd562a56
1 #ifndef SLC90E66_H
2 #define SLC90E66_H
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
8 #define DISPLAY_SLC90E66_TIMINGS
10 #define SLC90E66_DEBUG_DRIVE_INFO 0
12 #if defined(DISPLAY_SLC90E66_TIMINGS) && defined(CONFIG_PROC_FS)
13 #include <linux/stat.h>
14 #include <linux/proc_fs.h>
16 static u8 slc90e66_proc;
18 static int slc90e66_get_info(char *, char **, off_t, int);
20 static ide_pci_host_proc_t slc90e66_procs[] __initdata = {
22 .name = "slc90e66",
23 .set = 1,
24 .get_info = slc90e66_get_info,
25 .parent = NULL,
28 #endif /* defined(DISPLAY_SLC90E66_TIMINGS) && defined(CONFIG_PROC_FS) */
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);
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,
56 #endif /* SLC90E66_H */