1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:35:55 +02:00

backport r23862

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23864 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-11-04 14:14:06 +00:00
parent 70761e99b4
commit 4a6b490fea

View File

@ -247,7 +247,7 @@ mvswitch_config_init(struct phy_device *pdev)
pdev->supported = ADVERTISED_100baseT_Full; pdev->supported = ADVERTISED_100baseT_Full;
pdev->advertising = ADVERTISED_100baseT_Full; pdev->advertising = ADVERTISED_100baseT_Full;
dev->phy_ptr = priv; dev->phy_ptr = priv;
dev->irq = PHY_POLL; pdev->irq = PHY_POLL;
#ifdef HEADER_MODE #ifdef HEADER_MODE
dev->flags |= IFF_PROMISC; dev->flags |= IFF_PROMISC;
#endif #endif