]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: phy: bcm7xxx: drop A0 revision workaround and fix B0 workaround
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 11 Nov 2014 22:55:11 +0000 (14:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:58:06 +0000 (13:58 -0500)
commit2a9df7425e9fab830081d84334f2433177f78335
treebc07c49556b342883dfd91e4fb87bfeab4997fdc
parent6ec259c1649928facd56bd9bc4c22a806e1f932a
net: phy: bcm7xxx: drop A0 revision workaround and fix B0 workaround

bcm7445_config_init() was working around non-production version of the
PHY HW block, so just remove it entirely.

bcm7xxx_28nm_afe_config_init() was running for all PHY revisions greater
than B0, but this workaround sequence is really specific to the B0 PHY
revision, so rename the function accordingly and update the GPHY macro
to use the generic config_init callback.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c