4 #include <linux/config.h>
8 #define HPT343_DEBUG_DRIVE_INFO 0
11 #define SPLIT_BYTE(B,H,L) ((H)=(B>>4), (L)=(B-((B>>4)<<4)))
14 #undef DISPLAY_HPT34X_TIMINGS
16 #if defined(DISPLAY_HPT34X_TIMINGS) && defined(CONFIG_PROC_FS)
17 #include <linux/stat.h>
18 #include <linux/proc_fs.h>
20 static u8 hpt34x_proc;
22 static int hpt34x_get_info(char *, char **, off_t, int);
24 static ide_pci_host_proc_t hpt34x_procs[] __initdata = {
28 .get_info = hpt34x_get_info,
32 #endif /* defined(DISPLAY_HPT34X_TIMINGS) && defined(CONFIG_PROC_FS) */
34 static unsigned int init_chipset_hpt34x(struct pci_dev *, const char *);
35 static void init_hwif_hpt34x(ide_hwif_t *);
36 static void init_dma_hpt34x(ide_hwif_t *, unsigned long);
38 static ide_pci_device_t hpt34x_chipsets[] __devinitdata = {
40 .vendor = PCI_VENDOR_ID_TTI,
41 .device = PCI_DEVICE_ID_TTI_HPT343,
43 .init_chipset = init_chipset_hpt34x,
45 .init_hwif = init_hwif_hpt34x,
46 .init_dma = init_dma_hpt34x,
49 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
50 .bootable = NEVER_BOARD,