update atp870u driver to 0.78 from D-Link source
[linux-2.4.git] / drivers / ide / pci / triflex.h
1 /* 
2  * triflex.h
3  *
4  * Copyright (C) 2002 Hewlett-Packard Development Group, L.P.
5  * Author: Torben Mathiasen <torben.mathiasen@hp.com>
6  *
7  */
8 #ifndef TRIFLEX_H
9 #define TRIFLEX_H
10
11 #include <linux/config.h>
12 #include <linux/pci.h>
13 #include <linux/ide.h>
14
15 static unsigned int __devinit init_chipset_triflex(struct pci_dev *, const char *);
16 static void init_hwif_triflex(ide_hwif_t *);
17
18 static ide_pci_device_t triflex_devices[] __devinitdata = {
19         {
20                 .vendor         = PCI_VENDOR_ID_COMPAQ,
21                 .device         = PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE,
22                 .name           = "TRIFLEX",
23                 .init_chipset   = init_chipset_triflex,
24                 .init_iops      = NULL,
25                 .init_hwif      = init_hwif_triflex,
26                 .channels       = 2,
27                 .autodma        = AUTODMA,
28                 .enablebits     = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}},
29                 .bootable       = ON_BOARD,
30         },{     
31                 .bootable       = EOL,
32         }
33 };
34
35 #ifdef CONFIG_PROC_FS
36 static int triflex_get_info(char *, char **, off_t, int);
37
38 static ide_pci_host_proc_t triflex_procs __initdata = {
39         .name           = "triflex",
40         .set            = 1,
41         .get_info       = triflex_get_info,
42 };
43 #endif
44
45 static struct pci_device_id triflex_pci_tbl[] __devinitdata = {
46         { PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE, PCI_ANY_ID, 
47                 PCI_ANY_ID, 0, 0, 0 },
48         { 0, },
49 };
50
51 #endif /* TRIFLEX_H */