vserver 1.9.3
[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 static unsigned int init_chipset_hpt34x(struct pci_dev *, const char *);
15 static void init_hwif_hpt34x(ide_hwif_t *);
16
17 static ide_pci_device_t hpt34x_chipsets[] __devinitdata = {
18         {       /* 0 */
19                 .name           = "HPT34X",
20                 .init_chipset   = init_chipset_hpt34x,
21                 .init_hwif      = init_hwif_hpt34x,
22                 .channels       = 2,
23                 .autodma        = NOAUTODMA,
24                 .bootable       = NEVER_BOARD,
25                 .extra          = 16
26         }
27 };
28
29 #endif /* HPT34X_H */