Skip to contentSkip to conversation

eldk-3.1.1 8xx FEC bug

PATCH Debora Liu 1 participant 1 message Aug 23, 2005

lore
Share & tools
lore

Debora Liu

author
#0 lore raw

Hi ALL:
I find one problem with 8xx FEC driver.
After "ifconfig eth0 down", again "ifconfig eth0 up", kernel dead I modify fec.c to fix this bug as below

My board use MII

fec.c 2005-08-23 19:07:50.000000000 +0800 renamed from fec.c.org 2005-08-23 19:09:06.000000000 +0800 +3 -0
@@ -2,6 +2,9 @@
 fec_enet_close(struct net_device *dev)
 {
        /* Don't know what to do yet.
+       */
+       struct fec_enet_private *fep = dev->priv;
+       del_timer( &fep->phy_timer_list );
        netif_stop_queue(dev);
        fec_stop(dev);
 
        Debora Liu
        [email protected]
          2005-08-23