update atp870u driver to 0.78 from D-Link source
[linux-2.4.git] / drivers / ide / pci / sc1200.h
1 #ifndef SC1200_H
2 #define SC1200_H
3
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
7
8 #define DISPLAY_SC1200_TIMINGS
9
10 #if defined(DISPLAY_SC1200_TIMINGS) && defined(CONFIG_PROC_FS)
11 #include <linux/stat.h>
12 #include <linux/proc_fs.h>
13
14 static u8 sc1200_proc;
15
16 static int sc1200_get_info(char *, char **, off_t, int);
17
18 static ide_pci_host_proc_t sc1200_procs[] __initdata = {
19         {
20                 name:           "sc1200",
21                 set:            1,
22                 get_info:       sc1200_get_info,
23                 parent:         NULL,
24         },
25 };
26 #endif /* DISPLAY_SC1200_TIMINGS && CONFIG_PROC_FS */
27
28 static unsigned int init_chipset_sc1200(struct pci_dev *, const char *);
29 static void init_hwif_sc1200(ide_hwif_t *);
30 static void init_dma_sc1200(ide_hwif_t *, unsigned long);
31
32 static ide_pci_device_t sc1200_chipsets[] __devinitdata = {
33         {       /* 0 */
34                 vendor:         PCI_VENDOR_ID_NS,
35                 device:         PCI_DEVICE_ID_NS_SCx200_IDE,
36                 name:           "SC1200",
37                 init_chipset:   init_chipset_sc1200,
38                 init_iops:      NULL,
39                 init_hwif:      init_hwif_sc1200,
40                 init_dma:       init_dma_sc1200,
41                 channels:       2,
42                 autodma:        AUTODMA,
43                 enablebits:     {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
44                 bootable:       ON_BOARD,
45                 extra:          0,
46         },{
47                 vendor:         0,
48                 device:         0,
49                 channels:       0,
50                 bootable:       EOL,
51         }
52 };
53
54 #endif /* SC1200_H */