]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: factor out reading MAC address from registers
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 28 Aug 2019 20:25:32 +0000 (22:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 00:47:26 +0000 (17:47 -0700)
commit620485e6638eeefeb48fb0d92219cd46a9d65353
treeed5c43cacdd87da52d74001f70b59a58cd93930e
parent33a538841faf9ff4a904e947ca3b56dceedd3e2e
r8169: factor out reading MAC address from registers

For RTL8125 we will have to read the MAC address also from another
register range, therefore create a small helper.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c