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

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)