]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: use rtl8169_set_features in rtl8169_init_one
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Apr 2020 21:10:03 +0000 (23:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Apr 2020 03:20:11 +0000 (20:20 -0700)
commit5bd764f7d99ab38e44336d7e5d76cf6902aa8e43
treed5b373e7eba27179b158d48f68efe8ef92353ad8
parent35fee2a5824cb249a83622514d0b20d6ec73a5a7
r8169: use rtl8169_set_features in rtl8169_init_one

At that place in rtl_init_one() we can safely use rtl8169_set_features()
to configure the chip according to the default features.

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