This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / ide / pci / hpt34x.h
1 #ifndef HPT34X_H
2 #define HPT34X_H
3
4 #include <linux/config.h>
5 #include <linux/pci.h>
6 #include <linux/ide.h>
7
8 #define HPT343_DEBUG_DRIVE_INFO         0
9
10 #ifndef SPLIT_BYTE
11 #define SPLIT_BYTE(B,H,L)       ((H)=(B>>4), (L)=(B-((B>>4)<<4)))
12 #endif
13
14 #undef DISPLAY_HPT34X_TIMINGS
15
16 static unsigned int init_chipset_hpt34x(struct pci_dev *, const char *);
17 static void init_hwif_hpt34x(ide_hwif_t *);
18
19 static ide_pci_device_t hpt34x_chipsets[] __devinitdata = {
20         {       /* 0 */
21                 .vendor         = PCI_VENDOR_ID_TTI,
22                 .device         = PCI_DEVICE_ID_TTI_HPT343,
23                 .name           = "HPT34X",
24                 .init_chipset   = init_chipset_hpt34x,
25                 .init_hwif      = init_hwif_hpt34x,
26                 .channels       = 2,
27                 .autodma        = NOAUTODMA,
28                 .bootable       = NEVER_BOARD,
29                 .extra          = 16
30         }
31 };
32
33 #endif /* HPT34X_H */