4 #include <linux/config.h>
8 #define DISPLAY_CMD64X_TIMINGS
13 #define cmdprintk(x...) printk(x)
15 #define cmdprintk(x...)
19 * CMD64x specific registers definition.
22 #define CFR_INTR_CH0 0x02
24 #define CNTRL_DIS_RA0 0x40
25 #define CNTRL_DIS_RA1 0x80
26 #define CNTRL_ENA_2ND 0x08
34 #define ARTTIM23_DIS_RA2 0x04
35 #define ARTTIM23_DIS_RA3 0x08
36 #define ARTTIM23_INTR_CH1 0x10
46 #define MRDMODE_INTR_CH0 0x04
47 #define MRDMODE_INTR_CH1 0x08
48 #define MRDMODE_BLK_CH0 0x10
49 #define MRDMODE_BLK_CH1 0x20
51 #define UDIDETCR0 0x73
56 #define UDIDETCR1 0x7B
59 static unsigned int init_chipset_cmd64x(struct pci_dev *, const char *);
60 static void init_hwif_cmd64x(ide_hwif_t *);
62 static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
65 .init_chipset = init_chipset_cmd64x,
66 .init_hwif = init_hwif_cmd64x,
72 .init_chipset = init_chipset_cmd64x,
73 .init_hwif = init_hwif_cmd64x,
76 .enablebits = {{0x00,0x00,0x00}, {0x51,0x80,0x80}},
80 .init_chipset = init_chipset_cmd64x,
81 .init_hwif = init_hwif_cmd64x,
87 .init_chipset = init_chipset_cmd64x,
88 .init_hwif = init_hwif_cmd64x,