mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ipq807x: fix QNAP 301w 10G phy autneg at boot
This commit is contained in:
parent
8a72970418
commit
6a7ad84644
@ -19,6 +19,12 @@ boot() {
|
||||
macaddr_add $mac_addr 3 > /sys/devices/platform/soc/c000000.wifi/ieee80211/phy1/macaddress
|
||||
wifi
|
||||
;;
|
||||
qnap,301w)
|
||||
ssdk_sh debug phy set 0 0x4004c441 0x8 1> /dev/kmsg 2>&1
|
||||
ssdk_sh debug phy set 0 0x40070000 0x3200 1> /dev/kmsg 2>&1
|
||||
ssdk_sh debug phy set 8 0x4004c441 0x8 1> /dev/kmsg 2>&1
|
||||
ssdk_sh debug phy set 8 0x40070000 0x3200 1> /dev/kmsg 2>&1
|
||||
;;
|
||||
esac
|
||||
|
||||
for q in $(ls /sys/class/net/eth*/queues/rx-*/rps_cpus); do echo f > $q; done
|
||||
|
Loading…
Reference in New Issue
Block a user