patch-2.4.26 linux-2.4.26/drivers/net/tulip/tulip_core.c
Next file: linux-2.4.26/drivers/net/typhoon-firmware.h
Previous file: linux-2.4.26/drivers/net/tg3.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-04-14 06:05:30.000000000 -0700
- Orig file:
linux-2.4.25/drivers/net/tulip/tulip_core.c
- Orig date:
2003-11-28 10:26:20.000000000 -0800
diff -urN linux-2.4.25/drivers/net/tulip/tulip_core.c linux-2.4.26/drivers/net/tulip/tulip_core.c
@@ -579,7 +579,7 @@
dev->if_port = 2 - dev->if_port;
} else
dev->if_port = 0;
- else
+ else if (dev->if_port != 0 || (csr12 & 0x0004) != 0)
dev->if_port = 1;
tulip_select_media(dev, 0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)