# Re: \[PATCH v2 5/6\] net: ethernet: bgmac: Add platform device support

- From: Florian Fainelli \<f.fainelli@gmail.com\>
- Date: 2016-07-08 18:12:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/07/4791272
- Thread: https://ratatoskr.run/netdev/2016/07/4790560/t.md

```text
On 07/07/2016 04:08 PM, Jon Mason wrote:
> The bcma portion of the driver has been split off into a bcma specific
> driver.  This has been mirrored for the platform driver.  The last
> references to the bcma core struct have been changed into a generic
> function call.  These function calls are wrappers to either the original
> bcma code or new platform functions that access the same areas via MMIO.
> This necessitated adding function pointers for both platform and bcma to
> hide which backend is being used from the generic bgmac code.
> 
> Signed-off-by: Jon Mason <redacted>
> Acked-by: Arnd Bergmann <arnd@arndb.de>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
```
