fix mvswitch PHY polling setting (#8133)

SVN-Revision: 23862
This commit is contained in:
Florian Fainelli 2010-11-04 14:09:20 +00:00
parent 995cedb319
commit edcbafc836

View File

@ -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