diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-12-24 10:58:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-12-24 10:58:09 +0000 |
commit | 46f75ee8698d09dcbb97447fcd2c6f5473c52331 (patch) | |
tree | 8d1273a05667132498330b6be81ff83dcf6da74a /target | |
parent | 919724ab50586be54a1d903e47d772265e01bf38 (diff) | |
download | upstream-46f75ee8698d09dcbb97447fcd2c6f5473c52331.tar.gz upstream-46f75ee8698d09dcbb97447fcd2c6f5473c52331.tar.bz2 upstream-46f75ee8698d09dcbb97447fcd2c6f5473c52331.zip |
add WRT300N v1.1 support (patch from #6379)
SVN-Revision: 18921
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 6 | ||||
-rw-r--r-- | target/linux/brcm-2.4/image/Makefile | 3 | ||||
-rw-r--r-- | target/linux/brcm-2.4/profiles/WRT300Nv11.mk | 17 |
3 files changed, 23 insertions, 3 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig index 638f664bef..d63f17b124 100755 --- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig +++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig @@ -164,8 +164,10 @@ start() { c["lan_ifname"] = "eth0" c["wan_ifname"] = "eth1" } - if (nvram["boardtype"] == "0x478") { - # generic broadcom 4785 processor with 5397 switch? + # generic broadcom 4705/4785 processor with 5397 switch? + # EXCEPT Linksys WRT300N V1.1 + if ((nvram["boardtype"] == "0x478") && \ + (model != "Linksys WRT300N V1.1")) { c["vlan0ports"] = "1 2 3 4 8*" c["vlan1ports"] = "0 8" } diff --git a/target/linux/brcm-2.4/image/Makefile b/target/linux/brcm-2.4/image/Makefile index 39570200af..3dad1cee70 100644 --- a/target/linux/brcm-2.4/image/Makefile +++ b/target/linux/brcm-2.4/image/Makefile @@ -68,7 +68,8 @@ define Image/Build/jffs2-64k $(call Image/Build/CyberTAN,$(1),wrt54g,W54G,4.71.1,$(patsubst jffs2-%,jffs2,$(1))) $(call Image/Build/CyberTAN,$(1),wrt54gs_v4,W54s,1.09.1,$(patsubst jffs2-%,jffs2,$(1))) $(call Image/Build/CyberTAN,$(1),wrt150n,N150,1.51.3,$(patsubst jffs2-%,jffs2,$(1))) - $(call Image/Build/CyberTAN,$(1),wrt300n_v1,EWCB,1.51.2,$(patsubst jffs2-%,jffs2,$(1))) + $(call Image/Build/CyberTAN,$(1),wrt300n_v1,EWCB,1.03.6,$(patsubst jffs2-%,jffs2,$(1))) + $(call Image/Build/CyberTAN,$(1),wrt300n_v11,EWC2,1.51.2,$(patsubst jffs2-%,jffs2,$(1))) $(call Image/Build/CyberTAN,$(1),wrt350n_v1,EWCG,1.04.1,$(patsubst jffs2-%,jffs2,$(1))) $(call Image/Build/Motorola,$(1),wa840g,2,$(patsubst jffs2-%,jffs2,$(1))) $(call Image/Build/Motorola,$(1),we800g,3,$(patsubst jffs2-%,jffs2,$(1))) diff --git a/target/linux/brcm-2.4/profiles/WRT300Nv11.mk b/target/linux/brcm-2.4/profiles/WRT300Nv11.mk new file mode 100644 index 0000000000..dddcd1424c --- /dev/null +++ b/target/linux/brcm-2.4/profiles/WRT300Nv11.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/WRT300Nv11 + NAME:=Linksys WRT300N v1.1 + PACKAGES:=kmod-brcm-wl-mimo wlc nas kmod-wlcompat kmod-brcm-57xx +endef + +define Profile/WRT300Nv11/Description + Package set optimized for the WRT300N v1.1 +endef +$(eval $(call Profile,WRT300Nv11)) + |