summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorTeresa Remmet <t.remmet@phytec.de>2016-04-27 09:41:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-05-13 12:06:33 +0200
commitadfc28f9044c79396c899e45fe577f80233a9d88 (patch)
treefc5254ebfdb8b6545a65fc454d0c14afab4d9177 /drivers/net
parent9efa56480575c5d98a04e8ec97e4e7d188f86857 (diff)
downloadbarebox-adfc28f9044c79396c899e45fe577f80233a9d88.tar.gz
barebox-adfc28f9044c79396c899e45fe577f80233a9d88.tar.xz
net: phy: micrel: KSZ9081/KSZ8091: Disable broadcast mode
KSZ9081 only supports two phy ids 0x0 and 0x3. 0x0 is also used as broadcast address. Disable broadcast, so that id 0x0 can be used as unique address on a shared bus. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/micrel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index e8a566deba..9a30cb7e90 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -357,7 +357,7 @@ static struct phy_driver ksphy_driver[] = {
.phy_id_mask = MICREL_PHY_ID_MASK,
.drv.name = "Micrel KSZ8081/91",
.features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
- .config_init = kszphy_config_init,
+ .config_init = ksz8021_config_init,
.config_aneg = genphy_config_aneg,
.read_status = genphy_read_status,
}, {