linux/drivers/net/ethernet/renesas
Sergei Shtylyov 37742f028b sh_eth: read MAC address registers only once
The code reading the MAHR/MALR registers in read_mac_address() is terribly
ineffective -- it reads MAHR 4 times and MALR 2 times, while it's enough to
read each register only once.  Use the local variables to achieve that,
somewhat beautifying the code while at it...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-05 22:45:56 -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.h ravb: ptp: Add CONFIG mode support 2015-12-03 14:28:26 -05:00
ravb_main.c ravb: read MAC address registers only once 2015-12-05 22:45:55 -05:00
ravb_ptp.c renesas: missing unlock on error path 2015-06-25 02:13:02 -07:00
sh_eth.c sh_eth: read MAC address registers only once 2015-12-05 22:45:56 -05:00
sh_eth.h sh_eth: fix typo in RX descriptor bit name 2015-11-02 23:01:06 -05:00