mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 18:50:17 +02:00
0fc3447849
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11204 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
554 B
Diff
15 lines
554 B
Diff
Index: linux-2.6.24.7/arch/arm/mach-ixp4xx/compex-setup.c
|
|
===================================================================
|
|
--- linux-2.6.24.7.orig/arch/arm/mach-ixp4xx/compex-setup.c
|
|
+++ linux-2.6.24.7/arch/arm/mach-ixp4xx/compex-setup.c
|
|
@@ -93,7 +93,8 @@ static struct platform_device compex_uar
|
|
/* Built-in 10/100 Ethernet MAC interfaces */
|
|
static struct eth_plat_info compex_plat_eth[] = {
|
|
{
|
|
- .phy = -1,
|
|
+ .phy = IXP4XX_ETH_PHY_MAX_ADDR,
|
|
+ .phy_mask = 0xf0000, /* port 0-4 of the Marvell switch */
|
|
.rxq = 3,
|
|
.txreadyq = 20,
|
|
}, {
|