patch-2.0.31 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/lance32.c
Previous file: linux/drivers/net/hp100.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Aug 12 13:21:12 1997
- Orig file:
v2.0.30/linux/drivers/net/ibmtr.c
- Orig date:
Tue Apr 8 08:47:46 1997
diff -u --recursive --new-file v2.0.30/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -971,14 +971,15 @@
} /* ARB response */
if (status & SSB_RESP_INT) { /* SSB response */
-
+ unsigned char retcode;
switch (readb(ti->ssb)) { /* SSB command check */
case XMIT_DIR_FRAME:
case XMIT_UI_FRAME:
- if (readb(ti->ssb+2)) /* checks ret_code */
+ retcode = readb(ti->ssb+2);
+ if (retcode && (retcode != 0x22)) /* checks ret_code */
DPRINTK("xmit ret_code: %02X xmit error code: %02X\n",
- (int)readb(ti->ssb+2), (int)readb(ti->ssb+6));
+ (int)retcode, (int)readb(ti->ssb+6));
else ti->tr_stats.tx_packets++;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov