ar71xx: base-files: rework etc/board.d/02_network
authorPiotr Dymacz <pepe2k@gmail.com>
Tue, 27 Sep 2016 21:41:12 +0000 (23:41 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 4 Oct 2016 09:50:48 +0000 (11:50 +0200)
commit4fa90c49c1aa076afd413181953924fb5b245cd9
tree746e99a0d9b1397484a73ca8a2359faff1cec216
parent4ef1144958eefbfe8e74f571b3e8188a174e6a24
ar71xx: base-files: rework etc/board.d/02_network

Convert etc/board.d/02_network in ar71xx target to the same shape
as we have in ramips target. Split code into two new functions:

- interface/s setup in ar71xx_setup_interfaces()
- MAC/s setup in ar71xx_setup_macs()

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/base-files/etc/board.d/02_network