X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8bdac63e6f074730f550a6659e62fc4b81f9c143..2c16cf4acb73523c6bd2bec07a1e5317eea1db40:/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c diff --git a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c index 3ae8899c2..c2f324572 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c +++ b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c @@ -366,7 +366,7 @@ mvswitch_read_status(struct phy_device *pdev) { pdev->speed = SPEED_100; pdev->duplex = DUPLEX_FULL; - pdev->state = PHY_UP; + pdev->link = 1; /* XXX ugly workaround: we can't force the switch * to gracefully handle hosts moving from one port to another,