1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 20:04:05 +02:00

ar71xx: remove mii_ctrl resources of the ethernet devices

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2011-11-13 11:27:03 +00:00
parent 451654dc3a
commit 7ea3800d31

View File

@ -477,11 +477,6 @@ static struct resource ar71xx_eth0_resources[] = {
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
.start = AR71XX_GE0_BASE, .start = AR71XX_GE0_BASE,
.end = AR71XX_GE0_BASE + 0x200 - 1, .end = AR71XX_GE0_BASE + 0x200 - 1,
}, {
.name = "mii_ctrl",
.flags = IORESOURCE_MEM,
.start = AR71XX_MII_BASE + MII_REG_MII0_CTRL,
.end = AR71XX_MII_BASE + MII_REG_MII0_CTRL + 3,
}, { }, {
.name = "mac_irq", .name = "mac_irq",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
@ -510,11 +505,6 @@ static struct resource ar71xx_eth1_resources[] = {
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
.start = AR71XX_GE1_BASE, .start = AR71XX_GE1_BASE,
.end = AR71XX_GE1_BASE + 0x200 - 1, .end = AR71XX_GE1_BASE + 0x200 - 1,
}, {
.name = "mii_ctrl",
.flags = IORESOURCE_MEM,
.start = AR71XX_MII_BASE + MII_REG_MII1_CTRL,
.end = AR71XX_MII_BASE + MII_REG_MII1_CTRL + 3,
}, { }, {
.name = "mac_irq", .name = "mac_irq",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,