Changeset 12644
- Timestamp:
- 08/13/09 20:22:56 (4 years ago)
- Location:
- src/router/services
- Files:
-
- 2 edited
-
networking/network.c (modified) (2 diffs)
-
sysinit/sysinit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/networking/network.c
r12608 r12644 1206 1206 PORTSETUPWAN("ixp0"); 1207 1207 } else if (getRouterBrand() == ROUTER_BOARD_GATEWORX_GW2345) { 1208 #ifdef HAVE_MI424WR 1209 nvram_set("lan_ifname", "br0"); 1210 if (nvram_match("intel_eth", "1")) 1211 nvram_set("lan_ifnames", 1212 "eth0 eth1 ixp0 ixp1 ath0 ath1 ath2 ath3 ofdm"); 1213 else 1214 nvram_set("lan_ifnames", 1215 "ixp0 ixp1 ath0 ath1 ath2 ath3 ofdm"); 1216 PORTSETUPWAN("ixp0"); 1217 #else 1208 1218 nvram_set("lan_ifname", "br0"); 1209 1219 if (nvram_match("intel_eth", "1")) … … 1214 1224 "ixp0 ixp1 ath0 ath1 ath2 ath3 ofdm"); 1215 1225 PORTSETUPWAN("ixp1"); 1226 #endif 1216 1227 } else { 1217 1228 #ifdef HAVE_XIOCOM -
src/router/services/sysinit/sysinit.c
r12548 r12644 278 278 }; 279 279 #elif HAVE_GATEWORX 280 #if def HAVE_XIOCOM280 #if defined(HAVE_XIOCOM) || defined(HAVE_MI242WR) 281 281 struct nvram_tuple generic[] = { 282 282 {"lan_ifname", "br0", 0},
Note: See TracChangeset
for help on using the changeset viewer.
