r8169: add helpers for locking / unlocking the config registers
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 19 Jan 2019 21:05:48 +0000 (22:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Jan 2019 00:09:14 +0000 (16:09 -0800)
commitdf320ed7b3e46c93a57eb77c71228415bcd5b8b8
treee6ea41ae022042dc0b4258e12dd70a7dc6f3bb6a
parentc259b7f491ee04d2ee12f8c82e1ae272884440c1
r8169: add helpers for locking / unlocking the config registers

Add helpers for locking / unlocking the config registers.

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