Commit eeff6d86 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Nicolas Pitre

[ARM] Orion: wire up ethernet error interrupt

Wire up the ethernet port's error interrupt so that the
mv643xx_eth driver can sleep for SMI event completion instead of
having to busy-wait for it.
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
parent b4ffb0ed
...@@ -154,6 +154,10 @@ static struct resource orion5x_eth_shared_resources[] = { ...@@ -154,6 +154,10 @@ static struct resource orion5x_eth_shared_resources[] = {
.start = ORION5X_ETH_PHYS_BASE + 0x2000, .start = ORION5X_ETH_PHYS_BASE + 0x2000,
.end = ORION5X_ETH_PHYS_BASE + 0x3fff, .end = ORION5X_ETH_PHYS_BASE + 0x3fff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, {
.start = IRQ_ORION5X_ETH_ERR,
.end = IRQ_ORION5X_ETH_ERR,
.flags = IORESOURCE_IRQ,
}, },
}; };
...@@ -163,7 +167,7 @@ static struct platform_device orion5x_eth_shared = { ...@@ -163,7 +167,7 @@ static struct platform_device orion5x_eth_shared = {
.dev = { .dev = {
.platform_data = &orion5x_eth_shared_data, .platform_data = &orion5x_eth_shared_data,
}, },
.num_resources = 1, .num_resources = ARRAY_SIZE(orion5x_eth_shared_resources),
.resource = orion5x_eth_shared_resources, .resource = orion5x_eth_shared_resources,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment