]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: bcm7xxx: Fix 7425 PHY ID and flags
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 22 May 2015 21:07:30 +0000 (14:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2015 04:16:07 +0000 (00:16 -0400)
commit3681799e5d7f9af98af0f32d6f944292f2bc9036
tree92c7fed87a13bde8aad5e90dacc9efa985263557
parent50ef42911c9cff31755f2594dbbb075225bd1a43
net: phy: bcm7xxx: Fix 7425 PHY ID and flags

While adding support for 7425 PHY in the 7xxx PHY driver, the ID that
was used was actually coming from an external PHY: a BCM5461x. Fix this
by using the proper ID for the internal 7425 PHY and set the
PHY_IS_INTERNAL flag, otherwise consumers of this PHY driver would not
be able to properly identify it as such.

Fixes: 41dd3d633b31e ("net: phy: add BCM7425 and BCM7429 PHYs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Petri Gynther <pgynther@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c
include/linux/brcmphy.h