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:
parent
6109a3c27f
commit
6c3f6d2686
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user