Linkbeat detection for eepro100
Hello,
based on Stefans ([email protected]) patch (Interface operative status detection) to this list, here is support for the eepro100 driver.
ciao
Joerg
--
Joerg Mayer <[email protected]>
I found out that "pro" means "instead of" (as in proconsul). Now I know what proactive means.
net/eepro100.c renamed from net/eepro100.c.distrib +2 -2
@@ -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 ) {