aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/dp83848.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-02-07 11:47:18 -0600
committerDavid S. Miller <davem@davemloft.net>2016-02-11 11:52:02 -0500
commit68336293462c92ba420528dd293d54ee879b6e15 (patch)
tree7c3edb8c8e1329f101f664f928b3b10ebc836603 /drivers/net/phy/dp83848.c
parentnet: phy: dp83848: Add macro for dp83848 compatible devices (diff)
downloadlinux-dev-68336293462c92ba420528dd293d54ee879b6e15.tar.xz
linux-dev-68336293462c92ba420528dd293d54ee879b6e15.zip
net: phy: dp83848: Add PHY ID for TI version of DP83848C
After acquiring National Semiconductor, TI appears to have changed the Vendor Model Number for the DP83848C PHYs, add this new ID to supported IDs. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/dp83848.c')
-rw-r--r--drivers/net/phy/dp83848.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/phy/dp83848.c b/drivers/net/phy/dp83848.c
index 4e78f541b8c4..d4686d5f6e03 100644
--- a/drivers/net/phy/dp83848.c
+++ b/drivers/net/phy/dp83848.c
@@ -16,7 +16,8 @@
#include <linux/module.h>
#include <linux/phy.h>
-#define DP83848_PHY_ID 0x20005c90
+#define TI_DP83848C_PHY_ID 0x20005ca0
+#define NS_DP83848C_PHY_ID 0x20005c90
/* Registers */
#define DP83848_MICR 0x11
@@ -65,7 +66,8 @@ static int dp83848_config_intr(struct phy_device *phydev)
}
static struct mdio_device_id __maybe_unused dp83848_tbl[] = {
- { DP83848_PHY_ID, 0xfffffff0 },
+ { TI_DP83848C_PHY_ID, 0xfffffff0 },
+ { NS_DP83848C_PHY_ID, 0xfffffff0 },
{ }
};
MODULE_DEVICE_TABLE(mdio, dp83848_tbl);
@@ -91,7 +93,8 @@ MODULE_DEVICE_TABLE(mdio, dp83848_tbl);
}
static struct phy_driver dp83848_driver[] = {
- DP83848_PHY_DRIVER(DP83848_PHY_ID, "TI DP83848 10/100 Mbps PHY"),
+ DP83848_PHY_DRIVER(TI_DP83848C_PHY_ID, "TI DP83848C 10/100 Mbps PHY"),
+ DP83848_PHY_DRIVER(NS_DP83848C_PHY_ID, "TI DP83848C 10/100 Mbps PHY"),
};
module_phy_driver(dp83848_driver);