From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 25 Sep 2007 16:08:56 +0100 (BST) Received: from smtp1.int-evry.fr ([157.159.10.44]:17044 "EHLO smtp1.int-evry.fr") by ftp.linux-mips.org with ESMTP id S20023258AbXIYPI2 (ORCPT ); Tue, 25 Sep 2007 16:08:28 +0100 Received: from smtp-ext.int-evry.fr (smtp-ext.int-evry.fr [157.159.11.17]) by smtp1.int-evry.fr (Postfix) with ESMTP id A1C8B8E61DF; Tue, 25 Sep 2007 17:06:27 +0200 (CEST) Received: from [157.159.47.53] (unknown [157.159.47.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-ext.int-evry.fr (Postfix) with ESMTP id A124CD0E315; Tue, 25 Sep 2007 17:06:27 +0200 (CEST) From: Florian Fainelli To: linux-mips@linux-mips.org, blogic@openwrt.org, nbd@openwrt.org Subject: [PATCH 2/3] Au1000 : fix PCI controller registration Date: Tue, 25 Sep 2007 17:07:28 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2989421.Z4l169PWNj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200709251707.29067.florian.fainelli@telecomint.eu> X-int-MailScanner-Information: Please contact the ISP for more information X-int-MailScanner: Found to be clean X-int-MailScanner-SpamCheck: X-int-MailScanner-From: florian.fainelli@telecomint.eu Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 16664 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: florian.fainelli@telecomint.eu Precedence: bulk X-list: linux-mips --nextPart2989421.Z4l169PWNj Content-Type: multipart/mixed; boundary="Boundary-01=_wQS+GMP+2LtXpi8" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_wQS+GMP+2LtXpi8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The PCI controller fails to register, as PCI_MEM_END was greater than =A0 IOMEM_RESOURCE_END and Au1500_PCI_IO_END was greater than =A0 IOPORT_RESOURCE_END IO{MEM,PORT}_RESOURCE_END value were adjust to represent the actual =A0 memory map of the au1x00. Signed-off-by: Felix Fietkau Signed-off-by: John Crispin Signed-off-by: Florian Fainelli =2D-=20 --Boundary-01=_wQS+GMP+2LtXpi8 Content-Type: text/plain; charset="iso-8859-1"; name="io-resources.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="io-resources.patch" diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-= au1x00/au1000.h index 58fca8a..046920a 100644 =2D-- a/include/asm-mips/mach-au1x00/au1000.h +++ b/include/asm-mips/mach-au1x00/au1000.h @@ -1680,9 +1680,9 @@ extern au1xxx_irq_map_t au1xxx_irq_map[]; #define PCI_LAST_DEVFN (19<<3) =20 #define IOPORT_RESOURCE_START 0x00001000 /* skip legacy probing */ =2D#define IOPORT_RESOURCE_END 0xffffffff +#define IOPORT_RESOURCE_END 0xfffffffffULL #define IOMEM_RESOURCE_START 0x10000000 =2D#define IOMEM_RESOURCE_END 0xffffffff +#define IOMEM_RESOURCE_END 0xfffffffffULL =20 /* * Borrowed from the PPC arch: --Boundary-01=_wQS+GMP+2LtXpi8-- --nextPart2989421.Z4l169PWNj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBG+SQxmx9n1G/316sRAqSpAKDb8m03DsfVPCv+Z4CRnySKp0bOMgCguXSJ zY+jIaiQAQ5sTXQKNVrmeNQ= =jUxi -----END PGP SIGNATURE----- --nextPart2989421.Z4l169PWNj--