projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: update kernel 4.9 to 4.9.34
[openwrt/openwrt.git]
/
target
/
linux
/
bcm53xx
/
patches-4.9
/
700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
diff --git
a/target/linux/bcm53xx/patches-4.9/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
b/target/linux/bcm53xx/patches-4.9/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
index 2ee9cd48765539a9fbd5d09b51f1cd6558ab48ee..bafa4e4b1d680663de930245fec958c1b488ae38 100644
(file)
--- a/
target/linux/bcm53xx/patches-4.9/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
+++ b/
target/linux/bcm53xx/patches-4.9/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
@@
-13,16
+13,16
@@
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
--- a/drivers/net/phy/b53/b53_common.c
+++ b/drivers/net/phy/b53/b53_common.c
--- a/drivers/net/phy/b53/b53_common.c
+++ b/drivers/net/phy/b53/b53_common.c
-@@ -2
5,6 +25
,7 @@
- #include <linux/
module
.h>
- #include <linux/
switch
.h>
+@@ -2
7,6 +27
,7 @@
+ #include <linux/
of
.h>
+ #include <linux/
of_net
.h>
#include <linux/platform_data/b53.h>
+#include <linux/of.h>
#include "b53_regs.h"
#include "b53_priv.h"
#include <linux/platform_data/b53.h>
+#include <linux/of.h>
#include "b53_regs.h"
#include "b53_priv.h"
-@@ -1
383,6 +1384
,28 @@ static int b53_switch_init(struct b53_de
-
sw_dev->cpu_port = 5
;
+@@ -1
522,6 +1523
,28 @@ static int b53_switch_init(struct b53_de
+
return ret
;
}
+ /* Set correct CPU port */
}
+ /* Set correct CPU port */