net: phy: bcm63xx: Utilize correct config_intr function
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Wed, 18 Jan 2017 00:26:55 +0000 (16:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 21:56:10 +0000 (16:56 -0500)
commitcd33b3e0da43522ff8e8f2b2b71d3d08298512b0
tree90725ce76e5268dc6c135023409679baef6b7718
parent7be2c82cfd5d28d7adb66821a992604eb6dd112e
net: phy: bcm63xx: Utilize correct config_intr function

Commit a1cba5613edf ("net: phy: Add Broadcom phy library for common
interfaces") make the BCM63xx PHY driver utilize bcm_phy_config_intr()
which would appear to do the right thing, except that it does not write
to the MII_BCM63XX_IR register but to MII_BCM54XX_ECR which is
different.

This would be causing invalid link parameters and events from being
generated by the PHY interrupt.

Fixes: a1cba5613edf ("net: phy: Add Broadcom phy library for common interfaces")
Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm63xx.c