
15 May
2017
15 May
'17
10:20 a.m.
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@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