summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-08-26 10:16:55 +0200
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:36 -0500
commit96e1e344bc34d71f027a4ef845d00255eae7bfe9 (patch)
tree642751e5d459bab77e062cb8f8c4a7e877028bc2
parentdf8ea09db9dc5cc31bdfde91d6f89b759ba48cc0 (diff)
ethernet: set phy id correct
Set the correct phyID for Micrel KSZ9031 Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-rw-r--r--drivers/net/phy/micrel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 5737bc57d02c..4f43f794c2df 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -189,7 +189,7 @@ static struct phy_driver ksz9021_driver = {
static struct phy_driver ksz9031_driver = {
.phy_id = PHY_ID_KSZ9031,
- .phy_id_mask = 0x00ffffff,
+ .phy_id_mask = 0x00fffff0,
.name = "Micrel KSZ9031 Gigabit PHY",
.features = (PHY_GBIT_FEATURES | SUPPORTED_Pause
| SUPPORTED_Asym_Pause),
@@ -265,7 +265,7 @@ MODULE_LICENSE("GPL");
static struct mdio_device_id __maybe_unused micrel_tbl[] = {
{ PHY_ID_KSZ9021, 0x00ffffff },
- { PHY_ID_KSZ9031, 0x00ffffff },
+ { PHY_ID_KSZ9031, 0x00fffff0 },
{ PHY_ID_KS8001, 0x00ffffff },
{ PHY_ID_KS8737, 0x00ffffff },
{ PHY_ID_KS8041, 0x00ffffff },