From owner-freebsd-current Wed Sep 23 17:42:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17615 for freebsd-current-outgoing; Wed, 23 Sep 1998 17:42:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17610 for ; Wed, 23 Sep 1998 17:42:33 -0700 (PDT) (envelope-from rock@cs.uni-sb.de) Received: from cs.uni-sb.de (acc2-202.telip.uni-sb.de [134.96.112.202]) by uni-sb.de (8.9.0/1998052000) with ESMTP id CAA14858 for ; Thu, 24 Sep 1998 02:42:21 +0200 (CEST) Message-ID: <3609952C.FBF802A2@cs.uni-sb.de> Date: Thu, 24 Sep 1998 02:41:16 +0200 From: Daniel Rock X-Mailer: Mozilla 4.06 [de] (Win98; I) MIME-Version: 1.0 To: current@FreeBSD.ORG Subject: Minor format error in if_de.c Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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