[OpenWrt-Devel] [PATCH v2] lantiq, xrx200-net: add devicetree aliases support for port->mac mapping

John Crispin blogic at openwrt.org
Fri Feb 26 03:25:45 EST 2016



On 22/12/2015 10:36, Martin Schiller wrote:
>>> And there are also situations, where you even can't do it in
>> > hardware:
>>> > > when you use the xrx200 in Gigabit mode, you can use mac 0,1,2,4,5.
>>> > > mac/port 3 is dead in this case.
>>> > >
>>> > > But you can't tell an enduser/customer that there is a port 2 and a
>> > port 4
>>> > > but no port 3.
>> >
>> > sure but solving this in the driver by using a virtual port abstraction
>> > is imho not good.
>> >
>> > i'll see if i can think of a better solution for this issue
> As this is a board specific issue, I thought solving this in the
> devicetree would be a nice way.
> 
> But any better solution would be welcome.
> 

can you use swconfig,port to solve this ? and it not, maybe extend the
swconfig code to also have a swconfig,portname option ?

that would be a far more generic solution.

	John
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list