From owner-freebsd-stable@FreeBSD.ORG Wed Jul 9 09:52:58 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5761137B401 for ; Wed, 9 Jul 2003 09:52:58 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FB4F43F75 for ; Wed, 9 Jul 2003 09:52:57 -0700 (PDT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19aIAr-0007ue-00 for ; Wed, 09 Jul 2003 18:52:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19aIAr-0007uV-00 for ; Wed, 09 Jul 2003 18:52:09 +0200 From: othermark Date: Wed, 9 Jul 2003 16:52:09 +0000 (UTC) Lines: 22 Message-ID: X-Complaints-To: usenet@main.gmane.org Keywords: lpt User-Agent: slrn/0.9.7.4 (FreeBSD) Sender: news Subject: lpt.c spams the log X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 16:52:58 -0000 I have an older machine at home with a ECP/EPP capable lpt port. On bootup I run `lptcontrol -e` to enable extended mode, however, I recieve thousands of these messages eminating from lpt.c:788 log(LOG_NOTICE, LPT_NAME "%d: advanced mode not avail, polling\n", unit); mainly because this statement is in a loop running thru the buffer. would it be appropriate to turn off extended mode at this point, or is there a reason to leave it on for the rest of the buffer? case EINVAL: /* advanced mode not avail */ log(LOG_NOTICE, LPT_NAME "%d: advanced mode not avail, polling\n", unit); break; default: return(err); --- Mark atkin901 at NOSPAM yahoo dot com (!wired)?(coffee++):(wired);