]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: bcm7xxx: Fix bcm7xxx_config_init() check
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 6 Feb 2016 20:58:50 +0000 (12:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2016 19:55:35 +0000 (14:55 -0500)
commit54516f1148e5305bf035ad25eca36b6a77cbf3b2
treefc006b54c80a54a33b9733deab42016532e6fc9e
parent3192bdd64cdbd4fffdb433be571c2b9b40811489
net: phy: bcm7xxx: Fix bcm7xxx_config_init() check

Since we were wrongly advertising gigabit features for these 10/100 only
Ethernet PHYs, bcm7xxx_config_init() which is supposed to apply workaround
would have not run since the check would be true, now that we have fixed the
PHY features, remove that check since it has no reasoning to be there anymore.

Fixes: 6119871671e5d ("net: phy: bcm7xxx: do not use PHY_BRCM_100MBPS_WAR")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c