From f791fb4af45032a653ba7c850f4564923871cb16 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 27 Jan 2017 14:32:10 +0100 Subject: kernel: add linux 4.9 support Signed-off-by: Felix Fietkau Signed-off-by: Tim Harvey [fixes] --- ...adcom-Update-Auxiliary-Control-Register-m.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 target/linux/generic/patches-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch (limited to 'target/linux/generic/patches-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch') diff --git a/target/linux/generic/patches-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch b/target/linux/generic/patches-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch new file mode 100644 index 0000000000..9279a7c84c --- /dev/null +++ b/target/linux/generic/patches-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch @@ -0,0 +1,34 @@ +From: Xo Wang +Date: Fri, 21 Oct 2016 10:20:12 -0700 +Subject: [PATCH] net: phy: broadcom: Update Auxiliary Control Register macros + +Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control +shadow register and a mask for the shadow selector field. + +Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL. + +Signed-off-by: Xo Wang +Reviewed-by: Florian Fainelli +Reviewed-by: Joel Stanley +Signed-off-by: David S. Miller +--- + +--- a/include/linux/brcmphy.h ++++ b/include/linux/brcmphy.h +@@ -101,6 +101,7 @@ + * AUXILIARY CONTROL SHADOW ACCESS REGISTERS. (PHY REG 0x18) + */ + #define MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL 0x0000 ++#define MII_BCM54XX_AUXCTL_MISC_RXD_RXC_SKEW 0x0100 + #define MII_BCM54XX_AUXCTL_ACTL_TX_6DB 0x0400 + #define MII_BCM54XX_AUXCTL_ACTL_SMDSP_ENA 0x0800 + +@@ -109,7 +110,7 @@ + #define MII_BCM54XX_AUXCTL_MISC_RDSEL_MISC 0x7000 + #define MII_BCM54XX_AUXCTL_SHDWSEL_MISC 0x0007 + +-#define MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL 0x0000 ++#define MII_BCM54XX_AUXCTL_SHDWSEL_MASK 0x0007 + + /* + * Broadcom LED source encodings. These are used in BCM5461, BCM5481, -- cgit v1.2.3