4 #include <linux/config.h>
8 #define DISPLAY_CMD64X_TIMINGS
13 #define cmdprintk(x...) printk(x)
15 #define cmdprintk(x...)
19 #define SPLIT_BYTE(B,H,L) ((H)=(B>>4), (L)=(B-((B>>4)<<4)))
23 * CMD64x specific registers definition.
26 #define CFR_INTR_CH0 0x02
28 #define CNTRL_DIS_RA0 0x40
29 #define CNTRL_DIS_RA1 0x80
30 #define CNTRL_ENA_2ND 0x08
38 #define ARTTIM23_DIS_RA2 0x04
39 #define ARTTIM23_DIS_RA3 0x08
40 #define ARTTIM23_INTR_CH1 0x10
50 #define MRDMODE_INTR_CH0 0x04
51 #define MRDMODE_INTR_CH1 0x08
52 #define MRDMODE_BLK_CH0 0x10
53 #define MRDMODE_BLK_CH1 0x20
55 #define UDIDETCR0 0x73
60 #define UDIDETCR1 0x7B
63 static unsigned int init_chipset_cmd64x(struct pci_dev *, const char *);
64 static void init_hwif_cmd64x(ide_hwif_t *);
66 static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
69 .init_chipset = init_chipset_cmd64x,
70 .init_hwif = init_hwif_cmd64x,
76 .init_chipset = init_chipset_cmd64x,
77 .init_hwif = init_hwif_cmd64x,
80 .enablebits = {{0x00,0x00,0x00}, {0x51,0x80,0x80}},
84 .init_chipset = init_chipset_cmd64x,
85 .init_hwif = init_hwif_cmd64x,
91 .init_chipset = init_chipset_cmd64x,
92 .init_hwif = init_hwif_cmd64x,