Update of /cvsroot/linux-mips/linux/arch/mips/au1000/pb1500
In directory usw-pr-cvs1:/tmp/cvs-serv23175/arch/mips/au1000/pb1500
Modified Files:
setup.c
Log Message:
BE pci bus support.
Index: setup.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/pb1500/setup.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- setup.c 25 Mar 2002 22:58:15 -0000 1.5
+++ setup.c 26 Apr 2002 18:51:39 -0000 1.6
@@ -230,7 +230,11 @@
// Setup PCI bus controller
writel(0, Au1500_PCI_CMEM);
writel(0x00003fff, Au1500_CFG_BASE);
+#if defined(__MIPSEB__)
+ writel(0xf | (2<<6) | (1<<4), Au1500_PCI_CFG);
+#else
writel(0xf, Au1500_PCI_CFG);
+#endif
writel(0xf0000000, Au1500_PCI_MWMASK_DEV);
writel(0, Au1500_PCI_MWBASE_REV_CCL);
writel(0x02a00356, Au1500_PCI_STATCMD);
|