diff options
Diffstat (limited to 'target/linux/bmips/patches-5.15/501-net-dsa-b53-mmap-fix-enabled_ports.patch')
-rw-r--r-- | target/linux/bmips/patches-5.15/501-net-dsa-b53-mmap-fix-enabled_ports.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.15/501-net-dsa-b53-mmap-fix-enabled_ports.patch b/target/linux/bmips/patches-5.15/501-net-dsa-b53-mmap-fix-enabled_ports.patch new file mode 100644 index 0000000000..7d1fb7105d --- /dev/null +++ b/target/linux/bmips/patches-5.15/501-net-dsa-b53-mmap-fix-enabled_ports.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/dsa/b53/b53_mmap.c ++++ b/drivers/net/dsa/b53/b53_mmap.c +@@ -263,7 +263,7 @@ static int b53_mmap_probe_of(struct plat + if (of_property_read_u32(of_port, "reg", ®)) + continue; + +- if (reg < B53_CPU_PORT) ++ if (reg <= B53_CPU_PORT) + pdata->enabled_ports |= BIT(reg); + } + |