From 6ea0807f18f96e0ae7f6db23ab3c984b180aa84e Mon Sep 17 00:00:00 2001
From: Matthias Badaire <mbadaire@gmail.com>
Date: Wed, 23 May 2018 23:19:47 +0200
Subject: [PATCH] ramips: fix network config for ravpower wd03

This device has only one ethernet port.

Signed-off-by: Matthias Badaire <mbadaire@gmail.com>
[add the existing eth0 as lan block, shorten commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
---
 target/linux/ramips/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 2e771ca75ac..7f732fed940 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -143,6 +143,7 @@ ramips_setup_interfaces()
 	mzk-ex750np|\
 	na930|\
 	pbr-d1|\
+	ravpower,wd03|\
 	tama,w06|\
 	u25awf-h1|\
 	wli-tx4-ag300n|\
@@ -211,7 +212,6 @@ ramips_setup_interfaces()
 	ubnt-erx|\
 	ubnt-erx-sfp|\
 	ur-326n4g|\
-	ravpower,wd03|\
 	wrtnode|\
 	wrtnode2p | \
 	wrtnode2r | \
-- 
GitLab