r8168: a ugly hack to light up LAN led on NanoPi R4S

However this hurts nothing, and can make someone "happy" hhhhh.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-03-15 00:37:01 +08:00
parent 6109a3c27f
commit 6c3f6d2686
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -24441,6 +24441,7 @@ rtl8168_init_software_variable(struct net_device *dev)
tp->NotWrMcuPatchCode = TRUE;
}
RTL_W16(tp, CustomLED, 0x870);
tp->NicCustLedValue = RTL_R16(tp, CustomLED);
rtl8168_get_hw_wol(dev);