patch-1.3.14 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/wavelan.c
Previous file: linux/drivers/net/eql.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jul 31 09:46:27 1995
- Orig file:
v1.3.13/linux/drivers/net/ibmtr.c
- Orig date:
Fri Jun 30 16:22:28 1995
diff -u --recursive --new-file v1.3.13/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -627,7 +627,7 @@
DPRINTK("open failed: ret_code = %02X, retrying\n",open_response->ret_code);
}
if(ti->open_status!=FAILURE) {
- tr_timer.expires=TR_RETRY_INTERVAL;
+ tr_timer.expires=jiffies+TR_RETRY_INTERVAL;
tr_timer.data=(unsigned long)dev;
tr_timer.next=tr_timer.prev=NULL;
add_timer(&tr_timer);
@@ -642,7 +642,7 @@
struct dlc_open_sap *open_sap=(struct dlc_open_sap *)ti->srb;
if(open_sap->ret_code) {
DPRINTK("open_sap failed: ret_code = %02X,retrying\n",open_sap->ret_code);
- tr_timer.expires=TR_RETRY_INTERVAL;
+ tr_timer.expires=jiffies+TR_RETRY_INTERVAL;
tr_timer.data=(unsigned long)dev;
tr_timer.next=tr_timer.prev=NULL;
add_timer(&tr_timer);
@@ -724,7 +724,7 @@
if(ring_status & (SIGNAL_LOSS + LOBE_FAULT)) {
DPRINTK("Signal loss/Lobe fault\n");
DPRINTK("We try to reopen the adapter.\n");
- tr_timer.expires=TR_RETRY_INTERVAL;
+ tr_timer.expires=jiffies+TR_RETRY_INTERVAL;
tr_timer.data=(unsigned long)dev;
tr_timer.next=tr_timer.prev=NULL;
add_timer(&tr_timer);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this