pq2_find_bridges hangs system
Kalle Pokki
kalle.pokki at iki.fi
Sat Dec 3 01:09:33 EST 2005
Alex BASTOS wrote:
>The Tranfer Error makes not many sense for me, as _TEA is pulled-up.
>Maybe the oops after that is caused by the bad call return point?
>
>
I remember using this to prevent machine check exceptions during the PCI
scan. This is in the beginning of the pciauto_bus_scan() function.
--- trunk/linux/arch/ppc/syslib/pci_auto.c (revision 127)
+++ trunk/linux/arch/ppc/syslib/pci_auto.c (revision 128)
@@ -382,6 +382,10 @@
unsigned short vid;
unsigned char header_type;
+
+ /* must ignore machine checks during scan */
+ *(volatile unsigned short *) 0xf0010888 &= ~0x0800;
+
/*
* Fetch our I/O and memory space upper boundaries used
* to allocated base addresses on this hose.
More information about the Linuxppc-embedded
mailing list