aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2019-11-11 20:49:24 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-12 20:08:00 -0800
commit4f8d81b77e6624e222aefb7583da16ef8a656588 (patch)
tree1ff6bdc36451afe52bd81183dea38b39a85e532d /net/ipv4
parentnet: bcmgenet: Add BCM2711 support (diff)
downloadlinux-dev-4f8d81b77e6624e222aefb7583da16ef8a656588.tar.xz
linux-dev-4f8d81b77e6624e222aefb7583da16ef8a656588.zip
net: bcmgenet: Refactor register access in bcmgenet_mii_config
The register access in bcmgenet_mii_config() is a little bit opaque and not easy to extend. In preparation for the missing RGMII PHY modes move all the phy name assignments into the switch statement and the register access to the end of the function. This make the code easier to read and extend. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions