patch-1.3.91 linux/arch/alpha/kernel/alcor.c
Next file: linux/arch/alpha/kernel/apecs.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Wed Apr 17 09:01:18 1996
- Orig file:
v1.3.90/linux/arch/alpha/kernel/alcor.c
- Orig date:
Wed Feb 28 15:48:17 1996
diff -u --recursive --new-file v1.3.90/linux/arch/alpha/kernel/alcor.c linux/arch/alpha/kernel/alcor.c
@@ -410,6 +410,20 @@
hwrpb->max_asn = MAX_ASN;
}
+ /*
+ * Finally, clear the CIA_CFG register, which gets used
+ * for PCI Config Space accesses. That is the way
+ * we want to use it, and we do not want to depend on
+ * what ARC or SRM might have left behind...
+ */
+ {
+#if 0
+ unsigned int cia_cfg = *((unsigned int *)ALCOR_IOC_CFG); mb();
+ if (cia_cfg) printk("alcor_init: CFG was 0x%x\n", cia_cfg);
+#endif
+ *((unsigned int *)ALCOR_IOC_CFG) = 0; mb();
+ }
+
return mem_start;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this