kernel: split patches folder up into backport, pending and hack folders
[openwrt/staging/wigyori.git] / target / linux / generic / backport-4.9 / 076-v4.11-0003-net-phy-bcm7xxx-Add-entry-for-BCM7278.patch
1 From: Florian Fainelli <f.fainelli@gmail.com>
2 Date: Fri, 20 Jan 2017 12:36:33 -0800
3 Subject: [PATCH] net: phy: bcm7xxx: Add entry for BCM7278
4
5 Add support for the BCM7278 28nm process Gigabit Ethernet PHY.
6
7 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
8 Signed-off-by: David S. Miller <davem@davemloft.net>
9 ---
10
11 --- a/drivers/net/phy/bcm7xxx.c
12 +++ b/drivers/net/phy/bcm7xxx.c
13 @@ -334,6 +334,7 @@ static int bcm7xxx_suspend(struct phy_de
14
15 static struct phy_driver bcm7xxx_driver[] = {
16 BCM7XXX_28NM_GPHY(PHY_ID_BCM7250, "Broadcom BCM7250"),
17 + BCM7XXX_28NM_GPHY(PHY_ID_BCM7278, "Broadcom BCM7278"),
18 BCM7XXX_28NM_GPHY(PHY_ID_BCM7364, "Broadcom BCM7364"),
19 BCM7XXX_28NM_GPHY(PHY_ID_BCM7366, "Broadcom BCM7366"),
20 BCM7XXX_28NM_GPHY(PHY_ID_BCM7439, "Broadcom BCM7439"),
21 @@ -348,6 +349,7 @@ static struct phy_driver bcm7xxx_driver[
22
23 static struct mdio_device_id __maybe_unused bcm7xxx_tbl[] = {
24 { PHY_ID_BCM7250, 0xfffffff0, },
25 + { PHY_ID_BCM7278, 0xfffffff0, },
26 { PHY_ID_BCM7364, 0xfffffff0, },
27 { PHY_ID_BCM7366, 0xfffffff0, },
28 { PHY_ID_BCM7346, 0xfffffff0, },
29 --- a/include/linux/brcmphy.h
30 +++ b/include/linux/brcmphy.h
31 @@ -24,6 +24,7 @@
32 #define PHY_ID_BCM57780 0x03625d90
33
34 #define PHY_ID_BCM7250 0xae025280
35 +#define PHY_ID_BCM7278 0xae0251a0
36 #define PHY_ID_BCM7364 0xae025260
37 #define PHY_ID_BCM7366 0x600d8490
38 #define PHY_ID_BCM7346 0x600d8650