This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/net/mdio/mdio-ipq8064.c | |
+++ b/drivers/net/mdio/mdio-ipq8064.c | |
@@ -59,8 +59,10 @@ ipq8064_mdio_read(struct mii_bus *bus, int phy_addr, int reg_offset) | |
{ | |
struct ipq8064_mdio *priv = bus->priv; | |
u32 miiaddr = MII_BUSY | MII_CLKRANGE_20_35M; | |
- u32 ret_val; | |
+ u32 ret_val = 0; | |
+ u32 old_val = 0; | |
int err; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/net/dsa/qca8k.c | |
+++ b/drivers/net/dsa/qca8k.c | |
@@ -1600,7 +1600,8 @@ qca8k_sw_probe(struct mdio_device *mdiodev) | |
id >>= QCA8K_MASK_CTRL_ID_S; | |
id &= QCA8K_MASK_CTRL_ID_M; | |
if (id != data->id) | |
- return -ENODEV; | |
+ pr_info("DETECTED SWITCH ID %d EXPECTED %d", id, data->id); | |
+ // return -ENODEV; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/cpufreq/Kconfig.arm | |
+++ b/drivers/cpufreq/Kconfig.arm | |
@@ -126,6 +126,14 @@ config ARM_OMAP2PLUS_CPUFREQ | |
depends on ARCH_OMAP2PLUS | |
default ARCH_OMAP2PLUS | |
+config ARM_QCOM_KRAIT_CACHE | |
+ tristate "CPU Cache Frequency scaling support for Krait SoCs" | |
+ depends on ARCH_QCOM || COMPILE_TEST | |
+ help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/include/linux/if_bridge.h | |
+++ b/include/linux/if_bridge.h | |
@@ -45,10 +45,26 @@ struct br_ip_list { | |
#define BR_PROXYARP BIT(8) | |
#define BR_LEARNING_SYNC BIT(9) | |
#define BR_PROXYARP_WIFI BIT(10) | |
+#define BR_ISOLATE_MODE BIT(11) | |
+#define BR_MULTICAST_TO_UCAST BIT(12) | |
#define BR_DEFAULT_AGEING_TIME (300 * HZ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
overlay=$1 | |
overlay_space=$(df $overlay | sed -n 2p | awk \{'{print $5}'\} | sed 's/%//') | |
if [ $overlay_space -gt 95 ]; then | |
echo "$overlay too big, skipping pivot" | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ubi_num= | |
find_mtd_part() { | |
local PART=$(awk -F: "/$1/{print \$1}" /proc/mtd) | |
if [ ! -z "$PART" ]; then | |
PART="${PART##mtd}" | |
if [ ! -z "$PART" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
START=00 | |
. /lib/upgrade/common.sh | |
find_mtd_part() { | |
local PART=$(awk -F: "/$1/{print \$1}" /proc/mtd) | |
if [ ! -z "$PART" ]; then |