[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bae0e139-eefa-8a4a-74d3-ed6a32a2eccc@gmail.com>
Date: Fri, 19 Apr 2019 08:25:20 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Andrew Lunn <andrew@...n.ch>, David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Vivien Didelot <vivien.didelot@...il.com>
Subject: Re: [PATCH net-next 03/15] dsa: Add MODULE_ALIAS to taggers in
preperation to become modules
On 4/17/2019 7:31 PM, Andrew Lunn wrote:
> When the tag drivers become modules, we will need to dynamically load
> them based on what the switch drivers need. Add aliases to map between
> the TAG protocol and the driver.
>
> In order to do this, we need the tag protocol number as something
> which the C pre-processor can stringinfy. Only the compiler knows the
> value of an enum, CPP cannot use them. So add #defines.
>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
Just in case you need to resubmit, typo in the subject
s/preperation/preparation/
Thanks!
--
Florian
Powered by blists - more mailing lists