ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[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                 .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 static struct pci_device_id triflex_pci_tbl[] = {
36         { PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE, PCI_ANY_ID, 
37                 PCI_ANY_ID, 0, 0, 0 },
38         { 0, },
39 };
40 MODULE_DEVICE_TABLE(pci, triflex_pci_tbl);
41
42 #endif /* TRIFLEX_H */