linux-mips
[Top] [All Lists]

Au1000 PCMCIA I/O space?

To: linux-mips@linux-mips.org
Subject: Au1000 PCMCIA I/O space?
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
Date: Sun, 31 Jul 2005 23:16:27 -0700
Organization: Total Knowledge
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050723)
Is there any particular reason why Au1000 PCMCIA IO space is not included in 36-bit address fixup? Attached patch fixes it for me, but I'm wondering if there is valid reason not to do that.

--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com

Index: arch/mips/au1000/common/setup.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/common/setup.c,v
retrieving revision 1.25
diff -u -r1.25 setup.c
--- arch/mips/au1000/common/setup.c     11 Jul 2005 10:03:23 -0000      1.25
+++ arch/mips/au1000/common/setup.c     1 Aug 2005 04:18:40 -0000
@@ -179,7 +179,7 @@
         * The pseudo address we use is 0xF400 0000. Any address over
         * 0xF400 0000 is a pcmcia pseudo address.
         */
-       if ((phys_addr >= 0xF4000000) && (phys_addr < 0xFFFFFFFF)) {
+       if ((phys_addr >= 0xF0000000) && (phys_addr < 0xFFFFFFFF)) {
                return (phys_t)(phys_addr << 4);
        }
 
<Prev in Thread] Current Thread [Next in Thread>