aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-04-28 18:45:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-04-28 18:45:27 +0000
commita57272d80b34cc66177c8c20656f7a37da515b44 (patch)
tree26163abd61ecebfed8c419dffc267632b0fe07ae /target/linux/ixp4xx
parent2c6b667a805df5199fe075776c932f00b274050d (diff)
downloadupstream-a57272d80b34cc66177c8c20656f7a37da515b44.tar.gz
upstream-a57272d80b34cc66177c8c20656f7a37da515b44.tar.bz2
upstream-a57272d80b34cc66177c8c20656f7a37da515b44.zip
enable switch support on Compex boards
SVN-Revision: 10967
Diffstat (limited to 'target/linux/ixp4xx')
-rw-r--r--target/linux/ixp4xx/patches-2.6.24/250-compex_switch_support.patch14
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 0000000000..f887b412c6
--- /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,
+ }, {