diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-11-04 14:09:20 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-11-04 14:09:20 +0000 |
commit | edcbafc836ac407e57f42dc7e984657aa9125fe4 (patch) | |
tree | 700a8a559e7f2e7cdd3e0c90b693dce2acf71163 /target/linux/generic/files | |
parent | 995cedb319fd03b2c0d247e112348e756982bbb7 (diff) | |
download | mtk-20170518-edcbafc836ac407e57f42dc7e984657aa9125fe4.zip mtk-20170518-edcbafc836ac407e57f42dc7e984657aa9125fe4.tar.gz mtk-20170518-edcbafc836ac407e57f42dc7e984657aa9125fe4.tar.bz2 |
fix mvswitch PHY polling setting (#8133)
SVN-Revision: 23862
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/mvswitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/mvswitch.c b/target/linux/generic/files/drivers/net/phy/mvswitch.c index c2f3245..f3a9c74 100644 --- a/target/linux/generic/files/drivers/net/phy/mvswitch.c +++ b/target/linux/generic/files/drivers/net/phy/mvswitch.c @@ -247,7 +247,7 @@ mvswitch_config_init(struct phy_device *pdev) pdev->supported = ADVERTISED_100baseT_Full; pdev->advertising = ADVERTISED_100baseT_Full; dev->phy_ptr = priv; - dev->irq = PHY_POLL; + pdev->irq = PHY_POLL; #ifdef HEADER_MODE dev->flags |= IFF_PROMISC; #endif |