[LEDE-DEV] [PATCH v2] mt7621: Fix LAN port order of WeVO W2914NS v2

perillamint perillamint at gentoo.moe
Sat Dec 3 03:42:26 PST 2016


Thanks for review. I'll submit v3 of this.

On 03/12/16 16:12, Mathias Kresin wrote:
> 03.12.2016 06:28, perillamint:
>> From: "Yong-hyu, Ban" <perillamint at gentoo.moe>
>>
>> Signed-off-by: Yong-hyu, Ban <perillamint at gentoo.moe>
>> ---
>>
>> Changelog:
>> v2: Fix signed-off name to real name.
>>
>>  target/linux/ramips/base-files/etc/board.d/02_network | 5 ++++-
>>  1 file changed, 4 insertions(+), 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 e3e6550..9701b5a 100755
>> --- a/target/linux/ramips/base-files/etc/board.d/02_network
>> +++ b/target/linux/ramips/base-files/etc/board.d/02_network
>> @@ -87,7 +87,6 @@ ramips_setup_interfaces()
>>      sap-g3200u3|\
>>      sk-wb8|\
>>      vr500|\
>> -    w2914nsv2|\
>>      wf-2881|\
>>      witi|\
>>      wl-wn575a3|\
>> @@ -242,6 +241,10 @@ ramips_setup_interfaces()
>>          ucidef_add_switch "switch0" \
>>              "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5 at eth0"
>>          ;;
>> +    w2914nsv2)
>> +        ucidef_add_switch "switch0" \
>> +            "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "6 at eth0"
>> +        ;;
> 
> You have missed to add the physical port number to the wan interface.
> 
> Mathias



More information about the Lede-dev mailing list