summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
60df2a6)
Use generic switch0 to add support for both WZR-HP-G301NH and WZR-HP-G300NH
with RTL8366RB.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@27816
3c298f89-4303-0410-b956-
a3cf2f4a3e73
option proto dhcp
config switch
option proto dhcp
config switch
option reset 1
option enable_vlan 1
config switch_vlan
option reset 1
option enable_vlan 1
config switch_vlan
option vlan 1
option ports "0 1 2 3 5"
option vlan 1
option ports "0 1 2 3 5"
-static struct platform_device wzrhpg301nh_rtl8366rb_device = {
+static struct platform_device wzrhpg300nh_rtl8366rb_device = {
.name = RTL8366RB_DRIVER_NAME,
.id = -1,
.dev = {
.name = RTL8366RB_DRIVER_NAME,
.id = -1,
.dev = {
if (hasrtl8366rb) {
ar71xx_eth0_pll_data.pll_1000 = 0x1f000000;
if (hasrtl8366rb) {
ar71xx_eth0_pll_data.pll_1000 = 0x1f000000;
- ar71xx_eth0_data.mii_bus_dev = &wzrhpg301nh_rtl8366rb_device.dev;
+ ar71xx_eth0_data.mii_bus_dev = &wzrhpg300nh_rtl8366rb_device.dev;
ar71xx_eth1_pll_data.pll_1000 = 0x100;
ar71xx_eth1_pll_data.pll_1000 = 0x100;
- ar71xx_eth1_data.mii_bus_dev = &wzrhpg301nh_rtl8366rb_device.dev;
+ ar71xx_eth1_data.mii_bus_dev = &wzrhpg300nh_rtl8366rb_device.dev;
} else {
ar71xx_eth0_pll_data.pll_1000 = 0x1e000100;
ar71xx_eth0_data.mii_bus_dev = &wzrhpg300nh_rtl8366s_device.dev;
} else {
ar71xx_eth0_pll_data.pll_1000 = 0x1e000100;
ar71xx_eth0_data.mii_bus_dev = &wzrhpg300nh_rtl8366s_device.dev;
endef
define Profile/WZRHPG300NH/Description
endef
define Profile/WZRHPG300NH/Description
- Package set optimized for the Buffalo WZR-HP-G300NH
+ Package set optimized for the Buffalo WZR-HP-G300NH and WZR-HP-G301NH
endef
$(eval $(call Profile,WZRHPG300NH))
endef
$(eval $(call Profile,WZRHPG300NH))