patch-2.4.0-test3 linux/drivers/net/tulip/interrupt.c
Next file: linux/drivers/net/tulip/tulip_core.c
Previous file: linux/drivers/net/tulip/21142.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Jun 29 10:14:01 2000
- Orig file:
v2.4.0-test2/linux/drivers/net/tulip/interrupt.c
- Orig date:
Fri Jun 23 21:55:09 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/net/tulip/interrupt.c linux/drivers/net/tulip/interrupt.c
@@ -298,6 +298,10 @@
tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff;
tulip_outl_csr(tp, tp->csr6 | csr6_st | csr6_sr, CSR6);
}
+ /*
+ * NB: t21142_lnk_change() does a del_timer_sync(), so be careful if this
+ * call is ever done under the spinlock
+ */
if (csr5 & (TPLnkPass | TPLnkFail | 0x08000000)) {
if (tp->link_change)
(tp->link_change)(dev, csr5);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)