PERFORCE change 102574 for review

Olivier Houchard cognet at FreeBSD.org
Thu Jul 27 16:59:27 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102574

Change 102574 by cognet at cognet on 2006/07/27 16:58:34

	Only set the byte swapping bit on the PCI bus if we're running BE.

Affected files ...

.. //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425_pci.c#8 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425_pci.c#8 (text+ko) ====

@@ -175,11 +175,13 @@
 	/* Assert some PCI errors */
 	PCI_CSR_WRITE_4(sc, PCI_ISR, ISR_AHBE | ISR_PPE | ISR_PFE | ISR_PSE);
 	
+#ifdef __ARMEB__
 	/*
 	 * Set up byte lane swapping between little-endian PCI
 	 * and the big-endian AHB bus
 	 */
 	PCI_CSR_WRITE_4(sc, PCI_CSR, CSR_IC | CSR_ABE | CSR_PDS);
+#endif
 	
 	/*
 	 * Enable bus mastering and I/O,memory access


More information about the p4-projects mailing list