linux/drivers/net/ethernet/renesas
Sergei Shtylyov b2b14d2f57 sh_eth: factor out register bit twiddling code
The  driver has often repeated pattern of reading a register,  AND'ing and/or
OR'ing some bits  and writing  the  value back. Factor the pattern out into
sh_eth_modify() -- this saves  84 bytes of code with ARM gcc 4.7.3.

While at it, update Cogent Embedded's copyright.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-10 05:38:12 -05:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile Renesas Ethernet AVB PTP clock driver 2015-06-11 00:24:12 -07:00
ravb_main.c ravb: factor out register bit twiddling code 2016-02-10 05:38:12 -05:00
ravb_ptp.c ravb: factor out register bit twiddling code 2016-02-10 05:38:12 -05:00
ravb.h ravb: factor out register bit twiddling code 2016-02-10 05:38:12 -05:00
sh_eth.c sh_eth: factor out register bit twiddling code 2016-02-10 05:38:12 -05:00
sh_eth.h sh_eth: remove EDMAC_BIG_ENDIAN 2016-01-04 16:11:11 -05:00