patch-2_6_7-vs1_9_1_12
[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                 .name           = "HPT34X",
22                 .init_chipset   = init_chipset_hpt34x,
23                 .init_hwif      = init_hwif_hpt34x,
24                 .channels       = 2,
25                 .autodma        = NOAUTODMA,
26                 .bootable       = NEVER_BOARD,
27                 .extra          = 16
28         }
29 };
30
31 #endif /* HPT34X_H */