]> git.karo-electronics.de Git - linux-beck.git/commit
net: phy: micrel: disable broadcast for KSZ8081/KSZ8091
authorJohan Hovold <johan@kernel.org>
Tue, 11 Nov 2014 19:00:11 +0000 (20:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:55:36 +0000 (13:55 -0500)
commit57a38effa598aa18ca707fdd844cda02e528afae
tree6ef4483fd9e31a95c32983c95c8658a759c95243
parentbde151296a27c8ffaf000bb92ae6b318b8b3e0ec
net: phy: micrel: disable broadcast for KSZ8081/KSZ8091

Disable PHY address 0 as the broadcast address, so that it can be used
as a unique (non-broadcast) address on a shared bus.

Note that this can also be configured using the B-CAST_OFF pin on
KSZ9091, but that KSZ8081 lacks this pin and is also limited to
addresses 0 and 3.

Specifically, this allows for dual KSZ8081 setups.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c