Merge to Fedora kernel-2.6.6-1.422
[linux-2.6.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                 .name           = "TRIFLEX",
21                 .init_chipset   = init_chipset_triflex,
22                 .init_hwif      = init_hwif_triflex,
23                 .channels       = 2,
24                 .autodma        = AUTODMA,
25                 .enablebits     = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}},
26                 .bootable       = ON_BOARD,
27         }
28 };
29
30 static struct pci_device_id triflex_pci_tbl[] = {
31         { PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE, PCI_ANY_ID, 
32                 PCI_ANY_ID, 0, 0, 0 },
33         { 0, },
34 };
35 MODULE_DEVICE_TABLE(pci, triflex_pci_tbl);
36
37 #endif /* TRIFLEX_H */