]> err.no Git - linux-2.6/commitdiff
[PATCH] ARM: 2756/1: add ixp2000 msf mapping
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 26 Jun 2005 21:24:17 +0000 (22:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 26 Jun 2005 21:24:17 +0000 (22:24 +0100)
Patch from Lennert Buytenhek

Add a mapping for the ixp2400 and ixp2800 msf unit.  The msf is the
ixp2000's 'media and switch fabric' unit, which handles the networking
part of the chip.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/core.c
include/asm-arm/arch-ixp2000/ixp2000-regs.h

index efd77eee0657cc7d09b7ab9d5f19ee574d571b9f..4b9d841e04c15395a50488c52b1f1ca86daa9bd7 100644 (file)
@@ -102,6 +102,11 @@ static struct map_desc ixp2000_io_desc[] __initdata = {
                .physical       = IXP2000_PCI_CSR_PHYS_BASE,
                .length         = IXP2000_PCI_CSR_SIZE,
                .type           = MT_DEVICE
+       }, {
+               .virtual        = IXP2000_MSF_VIRT_BASE,
+               .physical       = IXP2000_MSF_PHYS_BASE,
+               .length         = IXP2000_MSF_SIZE,
+               .type           = MT_DEVICE
        }, {
                .virtual        = IXP2000_PCI_IO_VIRT_BASE,
                .physical       = IXP2000_PCI_IO_PHYS_BASE,
index 213c0cfbb157b41643e93e8ee8bdec7bbee1f54b..75623f81ef75492801108bb895f745fdbdb962e4 100644 (file)
 #define        IXP2000_PCI_CSR_VIRT_BASE       0xfec00000
 #define        IXP2000_PCI_CSR_SIZE            0x00100000
 
+#define IXP2000_MSF_PHYS_BASE          0xc8000000
+#define IXP2000_MSF_VIRT_BASE          0xfeb00000
+#define IXP2000_MSF_SIZE               0x00100000
+
 #define IXP2000_PCI_IO_PHYS_BASE       0xd8000000
 #define        IXP2000_PCI_IO_VIRT_BASE        0xfd000000
 #define IXP2000_PCI_IO_SIZE            0x01000000