diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-09-23 17:44:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-09-23 17:44:02 +0000 |
commit | 0eba7ba4ff0241dab749b165863ae15ff8ce347e (patch) | |
tree | c9c9718bf3606f03a0bdaea0c3daf1b5a3cbdbb5 /target/linux/ar71xx/files/arch | |
parent | 6ed55b43d7bea90387c8f330ea92a516cc971da6 (diff) | |
download | upstream-0eba7ba4ff0241dab749b165863ae15ff8ce347e.tar.gz upstream-0eba7ba4ff0241dab749b165863ae15ff8ce347e.tar.bz2 upstream-0eba7ba4ff0241dab749b165863ae15ff8ce347e.zip |
ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index 5ff65e0ed0..90869a88e6 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", |