]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: refactor broadcast disable
authorJohan Hovold <johan@kernel.org>
Tue, 11 Nov 2014 19:00:10 +0000 (20:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:55:36 +0000 (13:55 -0500)
commit069dfbe0846caf10bf5a9c127e7650069453eddc
treeb2aefb46a4c79cf4e89b3af3d91cff5665fc6ada
parentb7f6012e917975658dd71cedea372f3185ad0a2d
net: phy: micrel: refactor broadcast disable

Refactor and clean up broadcast disable.

Some Micrel PHYs have a broadcast-off bit in the Operation Mode Strap
Override register which can be used to 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 the KSZPHY_OMSO_RMII_OVERRIDE bit is set by default on
KSZ8021/8031.

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