Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2006 16:59:26 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 102574 for review
Message-ID:  <200607271659.k6RGxQHB000415@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102574

Change 102574 by cognet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607271659.k6RGxQHB000415>