eldk-3.1.1 8xx FEC bug
Debora Liu
deboralh at fel.com.cn
Tue Aug 23 21:18:29 EST 2005
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 at fel.com.cn
2005-08-23
More information about the Linuxppc-embedded
mailing list