To: dsaxena@plexity.net Cc: linux-arm-kernel@lists.arm.linux.org.uk Subject: [PATCH] Fix for ixp4xx PCI in little endian mode X-Draft-From: ("nnml:Linux.arm" "") From: Peter Korsgaard Date: Tue, 27 Sep 2005 08:52:23 +0200 Message-ID: <8764snuhnc.fsf@p4.48ers.dk> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 23 Xref: p4.48ers.dk mbox-out:514 Hi, The following patch fixed PCI support on ixp4xx by enabling PCI_CSR_ABE as described in the Intel documentation (http://www.intel.com/design/network/manuals/252480.htm, p19) Signed-off-by: Peter Korsgaard --- diff -urpN linux-2.6.14-rc2.orig/arch/arm/mach-ixp4xx/common-pci.c linux-2.6.14-rc2/arch/arm/mach-ixp4xx/common-pci.c --- linux-2.6.14-rc2.orig/arch/arm/mach-ixp4xx/common-pci.c 2005-09-26 21:32:40.000000000 +0200 +++ linux-2.6.14-rc2/arch/arm/mach-ixp4xx/common-pci.c 2005-09-26 22:02:57.000000000 +0200 @@ -427,7 +427,7 @@ void __init ixp4xx_pci_preinit(void) #ifdef __ARMEB__ *PCI_CSR = PCI_CSR_IC | PCI_CSR_ABE | PCI_CSR_PDS | PCI_CSR_ADS; #else - *PCI_CSR = PCI_CSR_IC; + *PCI_CSR = PCI_CSR_IC | PCI_CSR_ABE; #endif pr_debug("DONE\n"); -- Bye, Peter Korsgaard