]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
mv643xx_eth: Fix MV643XX_ETH offsets used by Pegasos 2
authorDale Farnsworth <dale@farnsworth.org>
Mon, 29 Oct 2007 22:39:01 +0000 (15:39 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 30 Oct 2007 18:32:16 +0000 (14:32 -0400)
In the mv643xx_eth driver, we now use offsets from the ethernet
register block within the chip, but the pegasos 2 platform still
needs offsets from the full chip's register base address.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/mv643xx_eth.h

index 8df230a279a0ad9629d191e80661782f2739f67b..30e11aa3c1c94cb9d2b1419326896b6462edaaea 100644 (file)
@@ -8,9 +8,9 @@
 #define MV643XX_ETH_NAME               "mv643xx_eth"
 #define MV643XX_ETH_SHARED_REGS                0x2000
 #define MV643XX_ETH_SHARED_REGS_SIZE   0x2000
-#define MV643XX_ETH_BAR_4      0x220
-#define MV643XX_ETH_SIZE_REG_4 0x224
-#define MV643XX_ETH_BASE_ADDR_ENABLE_REG       0x0290
+#define MV643XX_ETH_BAR_4              0x2220
+#define MV643XX_ETH_SIZE_REG_4         0x2224
+#define MV643XX_ETH_BASE_ADDR_ENABLE_REG       0x2290
 
 struct mv643xx_eth_platform_data {
        int             port_number;