[U-Boot] [PATCHv6 20/28] net: sunxi: Rename sunxi_emac to a more specific sun4i_mac

Maxime Ripard maxime.ripard at free-electrons.com
Mon May 15 08:20:49 UTC 2017


On Mon, May 15, 2017 at 10:02:36AM +0200, Olliver Schinagl wrote:
> The sunxi_emac driver is very specific to the IP used in the sun4i.
> Thus rename it to what it actually is, the MAC driver for the sun4i MAC.
> 
> The rename also changes the variable and function names inside the
> driver. There are no code changes in this patch however.
> 
> While here, use the BIT() macro for bitfields as well.

This should be in a separate patch.

> Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
> ---
>  drivers/net/Makefile                      |   2 +-
>  drivers/net/{sunxi_emac.c => sun4i_mac.c} | 260 +++++++++++++++---------------

The IP is called EMAC everywhere, please keep that name.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170515/4a10bf4e/attachment.sig>


More information about the U-Boot mailing list