]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccd23a30244d86da748383889ac9fd7cc1618a1c
tree90725ce76e5268dc6c135023409679baef6b7718
parent087be5ef97c2db7697e239deeb33eddae6141cae
net: phy: bcm63xx: Utilize correct config_intr function

Commit 102b7b794cee ("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: 102b7b794cee ("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