Re: [LEDE-DEV] [PATCH RFC 2/2] ramips: dts: add precompiler macro for VLAN defaults

2017-02-23 Thread Daniel Golle
Hi Florian, On Wed, Feb 22, 2017 at 03:54:23PM -0800, Florian Fainelli wrote: > > > On 02/22/2017 08:21 AM, Daniel Golle wrote: > > Add new dt-bindings precompiler include to replace numerical default > > VLAN assignments with more meaningful descriptive values, such that > > 0x3f -> VLAN_CONFIG_

Re: [LEDE-DEV] [PATCH RFC 2/2] ramips: dts: add precompiler macro for VLAN defaults

2017-02-22 Thread Florian Fainelli
On 02/22/2017 08:21 AM, Daniel Golle wrote: > Add new dt-bindings precompiler include to replace numerical default > VLAN assignments with more meaningful descriptive values, such that > 0x3f -> VLAN_CONFIG_L > 0x2f -> VLAN_CONFIG_W > 0x3e -> VLAN_CONFIG_W > > In that we we get the b

[LEDE-DEV] [PATCH RFC 2/2] ramips: dts: add precompiler macro for VLAN defaults

2017-02-22 Thread Daniel Golle
Add new dt-bindings precompiler include to replace numerical default VLAN assignments with more meaningful descriptive values, such that 0x3f -> VLAN_CONFIG_L 0x2f -> VLAN_CONFIG_W 0x3e -> VLAN_CONFIG_W In that we we get the best of both worlds: the usability of having strings and all