Date: Thu, 24 Sep 1998 02:41:16 +0200 From: Daniel Rock <rock@cs.uni-sb.de> To: current@FreeBSD.ORG Subject: Minor format error in if_de.c Message-ID: <3609952C.FBF802A2@cs.uni-sb.de>
next in thread | raw e-mail | index | archive | help
Take a look at the octal represented \0 characters in the variable thrsh.
I normally get the following errors after each reboot and medium network
usage:
de0: abnormal interrupt: transmit underflow (raising TX threshold to 96|256)
de0: abnormal interrupt: transmit underflow (raising TX threshold to 8|512)
(should be 128|512)
de0: abnormal interrupt: transmit underflow (raising TX threshold to 1024)
(should be 160|1024)
*** if_de.c Wed Jul 15 04:32:27 1998
--- if_de.c.new Thu Sep 24 02:37:36 1998
***************
*** 3865,3871 ****
const char * const *msgp = tulip_status_bits;
const char *sep;
u_int32_t mask;
! const char thrsh[] = "72|128\0\0\096|256\0\0\0128|512\0\0160|1024\0";
csr &= (1 << (sizeof(tulip_status_bits)/sizeof(tulip_status_bits[0]))) -
1
;
printf(TULIP_PRINTF_FMT ": abnormal interrupt:", TULIP_PRINTF_ARGS);
--- 3865,3871 ----
const char * const *msgp = tulip_status_bits;
const char *sep;
u_int32_t mask;
! const char thrsh[] =
"72|128\0\0\096|256\0\0\000128|512\0\000160|1024\0";
csr &= (1 << (sizeof(tulip_status_bits)/sizeof(tulip_status_bits[0]))) -
1
;
printf(TULIP_PRINTF_FMT ": abnormal interrupt:", TULIP_PRINTF_ARGS);
Daniel
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3609952C.FBF802A2>
