LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* eldk-3.1.1 8xx FEC bug
@ 2005-08-23 11:18 Debora Liu
  0 siblings, 0 replies; only message in thread
From: Debora Liu @ 2005-08-23 11:18 UTC (permalink / raw)
  To: linuxppc-embedde

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.org   2005-08-23 19:09:06.000000000 +0800
+++ fec.c       2005-08-23 19:07:50.000000000 +0800
@@ -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
        deboralh@fel.com.cn
          2005-08-23

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-23 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 11:18 eldk-3.1.1 8xx FEC bug Debora Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox