11 #include <linux/types.h>
12 #include <linux/pci.h>
13 #include <linux/kernel.h>
26 #define COBALT_PCICONF_CPU 0x06
27 #define COBALT_PCICONF_ETH0 0x07
28 #define COBALT_PCICONF_RAQSCSI 0x08
29 #define COBALT_PCICONF_VIA 0x09
30 #define COBALT_PCICONF_PCISLOT 0x0A
31 #define COBALT_PCICONF_ETH1 0x0C
37 #define VIA_COBALT_BRD_ID_REG 0x94
38 #define VIA_COBALT_BRD_REG_to_ID(reg) ((unsigned char)(reg) >> 4)
52 qube_raq_galileo_early_fixup);
56 unsigned short cfgword;
65 pci_write_config_byte(dev, 0x40, 0
xb);
75 qube_raq_via_bmIDE_fixup);
128 qube_raq_galileo_fixup);
139 panic(
"Cannot read board ID");
149 qube_raq_via_board_id_fixup);
160 static char irq_tab_cobalt[] __initdata = {
169 static char irq_tab_raq2[] __initdata = {
181 return irq_tab_qube1[
slot];
184 return irq_tab_raq2[
slot];
186 return irq_tab_cobalt[
slot];