This uses previously submitted rtl8366 kernel packages. Signed-off-by: Roman Yeryomin <[email protected]>
Index: target/linux/ramips/rt288x/base-files-RTN15/etc/config/network =================================================================== --- a/target/linux/ramips/rt288x/base-files-RTN15/etc/config/network (revision 0) +++ b/target/linux/ramips/rt288x/base-files-RTN15/etc/config/network (revision 0) @@ -0,0 +1,31 @@ +config 'interface' 'loopback' + option 'ifname' 'lo' + option 'proto' 'static' + option 'ipaddr' '127.0.0.1' + option 'netmask' '255.0.0.0' + +config 'interface' 'lan' + option 'ifname' 'eth0.1' + option 'type' 'bridge' + option 'proto' 'static' + option 'ipaddr' '192.168.1.1' + option 'netmask' '255.255.255.0' + +config 'interface' 'wan' + option 'ifname' 'eth0.2' + option 'proto' 'dhcp' + +config 'switch' + option 'name' 'rtl8366s' + option 'reset' '1' + option 'enable_vlan' '1' + +config 'switch_vlan' + option 'device' 'rtl8366s' + option 'vlan' '1' + option 'ports' '0 1 2 3 5t' + +config 'switch_vlan' + option 'device' 'rtl8366s' + option 'vlan' '2' + option 'ports' '4 5t' Index: target/linux/ramips/rt288x/profiles/asus.mk =================================================================== --- a/target/linux/ramips/rt288x/profiles/asus.mk (revision 0) +++ b/target/linux/ramips/rt288x/profiles/asus.mk (revision 0) @@ -0,0 +1,17 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/RTN15 + NAME:=Asus RT-N15 + PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig kmod-gpio-dev +endef + +define Profile/RTN15/Description + Package set for Asus RT-N15 board +endef + +$(eval $(call Profile,RTN15)) _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
