projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcm53xx: add support for Phicomm K3
[openwrt/openwrt.git]
/
target
/
linux
/
bcm53xx
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/bcm53xx/base-files/etc/board.d/02_network
b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index dc17af489100cd818304395e6280ce2ea87085cb..8c9e8b3f3f4e928b37c74cc36d4754fe2297fb9b 100755
(executable)
--- a/
target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/
target/linux/bcm53xx/base-files/etc/board.d/02_network
@@
-24,6
+24,12
@@
buffalo,wzr-1750dhp)
board_config_flush
exit 0
;;
+phicomm,k3)
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "2:lan" "3:wan" "5@eth0"
+ board_config_flush
+ exit 0
+ ;;
esac
wan_macaddr="$(nvram get wan_hwaddr)"