net: phy: bcm7xxx: add alternate id for 7439
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 9 Mar 2015 22:44:13 +0000 (15:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2015 03:57:54 +0000 (23:57 -0400)
BCM7439 has an alternate PHY OUI: 0xae025080 which is to be found in
some variants of this chip.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c
include/linux/brcmphy.h

index 974ec45..64c74c6 100644 (file)
@@ -396,6 +396,7 @@ static struct phy_driver bcm7xxx_driver[] = {
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7364, "Broadcom BCM7364"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7366, "Broadcom BCM7366"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7439, "Broadcom BCM7439"),
+       BCM7XXX_28NM_GPHY(PHY_ID_BCM7439_2, "Broadcom BCM7439 (2)"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7445, "Broadcom BCM7445"),
 {
        .phy_id         = PHY_ID_BCM7425,
index 7ccd928..cab6066 100644 (file)
@@ -19,6 +19,7 @@
 #define PHY_ID_BCM7425                 0x03625e60
 #define PHY_ID_BCM7429                 0x600d8730
 #define PHY_ID_BCM7439                 0x600d8480
+#define PHY_ID_BCM7439_2               0xae025080
 #define PHY_ID_BCM7445                 0x600d8510
 
 #define PHY_BCM_OUI_MASK               0xfffffc00