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)
commitcc4a84c3da6f9dd6a297dc81fe4437643a60fe03
tree92c7fed87a13bde8aad5e90dacc9efa985263557
parentcf539cbd8a81e12880735a0912de8b99f46c84fd
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: d068b02cfdfc2 ("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