diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-07-28 12:44:17 +0200 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-07-28 12:45:02 +0200 |
commit | a3be48593b04bfa3dd2b1c98dc360de742861b09 (patch) | |
tree | eb26e804ef30a47bae61e04574f2a6f4f129e973 /target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch | |
parent | 96fa9aa13bfa4efba70e6effab22438961c1127b (diff) | |
download | upstream-a3be48593b04bfa3dd2b1c98dc360de742861b09.tar.gz upstream-a3be48593b04bfa3dd2b1c98dc360de742861b09.tar.bz2 upstream-a3be48593b04bfa3dd2b1c98dc360de742861b09.zip |
bcm53xx: refresh kernel patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 68fa647209..0f4f944ac6 100644 --- 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); + |