diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-28 18:45:27 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-28 18:45:27 +0000 |
commit | cf0c1284db9a649a9acc255d37ba5678818ca350 (patch) | |
tree | 6354e65b2cece081502dbdd22281e9069d347d6e /target | |
parent | c264ce3344facff606749ea97408f0f46f91e88d (diff) |
[ixp4xx] enable switch support on Compex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10967 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.24/250-compex_switch_support.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.24/250-compex_switch_support.patch b/target/linux/ixp4xx/patches-2.6.24/250-compex_switch_support.patch new file mode 100644 index 000000000..f887b412c --- /dev/null +++ b/target/linux/ixp4xx/patches-2.6.24/250-compex_switch_support.patch @@ -0,0 +1,14 @@ +Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/compex-setup.c +=================================================================== +--- linux-2.6.24.2.orig/arch/arm/mach-ixp4xx/compex-setup.c ++++ linux-2.6.24.2/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, + }, { |