based on Stefans (srompf@isg.de) patch (Interface operative status detection)
to this list, here is support for the eepro100 driver.
ciao
Joerg
-- Joerg Mayer <jmayer@loplof.de> I found out that "pro" means "instead of" (as in proconsul). Now I know what proactive means.
--- drivers/net/eepro100.c.distrib Mon Jan 28 22:22:34 2002 +++ drivers/net/eepro100.c Mon Jan 28 22:40:59 2002 @@ -1103,9 +1103,9 @@ mdio_read(ioaddr, phy_num, 1); /* If link beat has returned... */ if (mdio_read(ioaddr, phy_num, 1) & 0x0004) - dev->flags |= IFF_RUNNING; + netif_carrier_on(dev); else - dev->flags &= ~IFF_RUNNING; + netif_carrier_off(dev); } } if (speedo_debug > 3) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/