Re: [PATCH v2 4/6] net: ethernet: bgmac: convert to feature flags
From: Florian Fainelli
Date: Fri Jul 08 2016 - 14:11:59 EST
On 07/07/2016 04:08 PM, Jon Mason wrote:
> The bgmac driver is using the bcma provides device ID and revision, as
> well as the SoC ID and package, to determine which features are
> necessary to enable, reset, etc in the driver. In anticipation of
> removing the bcma requirement for this driver, these must be changed to
> not reference that struct. In place of that, each "feature" has been
> given a flag, and the flags are enabled for their respective device and
> SoC.
>
> Signed-off-by: Jon Mason <jon.mason@xxxxxxxxxxxx>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Tested-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian