aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-04-28 21:52:03 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-04-28 21:52:03 +0000
commit8222e2143225135be5e48c3b78733fbc4a08187a (patch)
tree3673e398c67021958e673138c16413e45f5547b5
parentdbbf5a2b84e873dc0ce847b247c7ac80b3eaaeff (diff)
downloadupstream-8222e2143225135be5e48c3b78733fbc4a08187a.tar.gz
upstream-8222e2143225135be5e48c3b78733fbc4a08187a.tar.bz2
upstream-8222e2143225135be5e48c3b78733fbc4a08187a.zip
enable support of the kendin switch on the ap1000, too
SVN-Revision: 10969
-rw-r--r--target/linux/ixp4xx/patches-2.6.24/151-lanready_ap1000_mac_plat_info.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.24/151-lanready_ap1000_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.24/151-lanready_ap1000_mac_plat_info.patch
index 4259ff971b..2ab59ff066 100644
--- a/target/linux/ixp4xx/patches-2.6.24/151-lanready_ap1000_mac_plat_info.patch
+++ b/target/linux/ixp4xx/patches-2.6.24/151-lanready_ap1000_mac_plat_info.patch
@@ -1,14 +1,15 @@
diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ap1000-setup.c
--- linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c 2007-11-14 14:11:10.000000000 +0100
+++ linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ap1000-setup.c 2007-11-14 14:09:30.000000000 +0100
-@@ -90,9 +90,36 @@
+@@ -90,9 +90,37 @@
.resource = ap1000_uart_resources
};
+/* Built-in 10/100 Ethernet MAC interfaces */
+static struct eth_plat_info ap1000_plat_eth[] = {
+ {
-+ .phy = 4,
++ .phy = IXP4XX_ETH_PHY_MAX_ADDR,
++ .phy_mask = 0x1e,
+ .rxq = 3,
+ .txreadyq = 20,
+ }, {