]> git.baikalelectronics.ru Git - 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)
commitf83b9027cca1fa5ab3ca2f21415ca0933586cf26
treebc07c49556b342883dfd91e4fb87bfeab4997fdc
parentf79bfed88262c743683d7c388341a692896d9723
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