From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 3 Apr 2002 18:50:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 3 Apr 2002 18:49:51 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:9740 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 3 Apr 2002 18:49:37 -0500 Message-ID: <3CAB9518.5090409@mandrakesoft.com> Date: Wed, 03 Apr 2002 18:49:44 -0500 From: Jeff Garzik Organization: MandrakeSoft User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Denny Gudea CC: andrewm@uow.edu.au, netdev@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: 3c59x.c - kernel message explosion (fwd) In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Denny Gudea wrote: > i believe the problem resides when it tests for the debug level: > > if (vortex_debug > 2 > || (tx_status != 0x88 && vortex_debug > 0)) { > > the || operator should be a && because we only want to print the error > message if debug is greater than 2 and the transmit status is not what it > should be. the test looks ok... it prints if the status is not what it should be, if vortex_debug is 1 or 2, and unconditionally prints the status if vortex_debug is 3 or greater. What is your vortex_debug setting? Jeff