4 #include <linux/config.h>
8 #define PIIX_DEBUG_DRIVE_INFO 0
10 #define DISPLAY_PIIX_TIMINGS
12 static void init_setup_piix(struct pci_dev *, ide_pci_device_t *);
13 static unsigned int __devinit init_chipset_piix(struct pci_dev *, const char *);
14 static void init_hwif_piix(ide_hwif_t *);
16 #define DECLARE_PIIX_DEV(name_str) \
19 .init_setup = init_setup_piix, \
20 .init_chipset = init_chipset_piix, \
21 .init_hwif = init_hwif_piix, \
24 .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \
25 .bootable = ON_BOARD, \
29 * Table of the various PIIX capability blocks
33 static ide_pci_device_t piix_pci_info[] __devinitdata = {
34 /* 0 */ DECLARE_PIIX_DEV("PIIXa"),
35 /* 1 */ DECLARE_PIIX_DEV("PIIXb"),
39 .init_setup = init_setup_piix,
40 .init_hwif = init_hwif_piix,
43 .enablebits = {{0x6D,0x80,0x80}, {0x6F,0x80,0x80}},
47 /* 3 */ DECLARE_PIIX_DEV("PIIX3"),
48 /* 4 */ DECLARE_PIIX_DEV("PIIX4"),
49 /* 5 */ DECLARE_PIIX_DEV("ICH0"),
50 /* 6 */ DECLARE_PIIX_DEV("PIIX4"),
51 /* 7 */ DECLARE_PIIX_DEV("ICH"),
52 /* 8 */ DECLARE_PIIX_DEV("PIIX4"),
53 /* 9 */ DECLARE_PIIX_DEV("PIIX4"),
54 /* 10 */ DECLARE_PIIX_DEV("ICH2"),
55 /* 11 */ DECLARE_PIIX_DEV("ICH2M"),
56 /* 12 */ DECLARE_PIIX_DEV("ICH3M"),
57 /* 13 */ DECLARE_PIIX_DEV("ICH3"),
58 /* 14 */ DECLARE_PIIX_DEV("ICH4"),
59 /* 15 */ DECLARE_PIIX_DEV("ICH5"),
60 /* 16 */ DECLARE_PIIX_DEV("C-ICH"),
61 /* 17 */ DECLARE_PIIX_DEV("ICH4"),
62 /* 18 */ DECLARE_PIIX_DEV("ICH5-SATA"),
63 /* 19 */ DECLARE_PIIX_DEV("ICH5"),
64 /* 20 */ DECLARE_PIIX_DEV("ICH6")