From 1bf028b56dd1177894b0698db5666ba13e77cdcf Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 23 Sep 2009 17:44:02 +0000 Subject: ar71xx: don't use mac_base2 in the ag71xx driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17693 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'target/linux/ar71xx/files/arch') diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index 5ff65e0ed..90869a88e 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c @@ -181,8 +181,8 @@ static struct resource ar71xx_mdio_resources[] = { { .name = "mdio_base", .flags = IORESOURCE_MEM, - .start = AR71XX_GE0_BASE + 0x20, - .end = AR71XX_GE0_BASE + 0x38 - 1, + .start = AR71XX_GE0_BASE, + .end = AR71XX_GE0_BASE + 0x200 - 1, } }; @@ -348,11 +348,6 @@ static struct resource ar71xx_eth0_resources[] = { .name = "mac_base", .flags = IORESOURCE_MEM, .start = AR71XX_GE0_BASE, - .end = AR71XX_GE0_BASE + 0x20 - 1, - }, { - .name = "mac_base2", - .flags = IORESOURCE_MEM, - .start = AR71XX_GE0_BASE + 0x38, .end = AR71XX_GE0_BASE + 0x200 - 1, }, { .name = "mii_ctrl", @@ -386,11 +381,6 @@ static struct resource ar71xx_eth1_resources[] = { .name = "mac_base", .flags = IORESOURCE_MEM, .start = AR71XX_GE1_BASE, - .end = AR71XX_GE1_BASE + 0x20 - 1, - }, { - .name = "mac_base2", - .flags = IORESOURCE_MEM, - .start = AR71XX_GE1_BASE + 0x38, .end = AR71XX_GE1_BASE + 0x200 - 1, }, { .name = "mii_ctrl", -- cgit v1.2.3