projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcm53xx: refresh kernel patches
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
bcm53xx
/
patches-4.4
/
710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
diff --git
a/target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
b/target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
index 68fa6472090319ad119419d4c0d13fb96749b055..0f4f944ac67beb96c35840a25be9b06c3befc159 100644
(file)
--- a/
target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
+++ b/
target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
@@
-42,6
+42,6
@@
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
+ of_machine_is_compatible("netgear,r8000"))
+ sw_dev->cpu_port = 5;
+
- /* cpu port is always last */
- sw_dev->ports = sw_dev->cpu_port + 1;
dev->enabled_ports |= BIT(sw_dev->cpu_port);
+ sw_dev->ports = fls(dev->enabled_ports);
+