From owner-cvs-all Tue Jul 11 17:53:54 2000 Delivered-To: cvs-all@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 22D0837BAAC; Tue, 11 Jul 2000 17:53:44 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id RAA18925; Tue, 11 Jul 2000 17:53:38 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.9.3/8.9.3) id RAA31589; Tue, 11 Jul 2000 17:52:52 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200007120042.RAA19198@freefall.freebsd.org> Date: Tue, 11 Jul 2000 17:52:52 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/isa isa_common.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Jul-00 John Baldwin wrote: > jhb 2000/07/11 17:42:08 PDT > > Modified files: > sys/isa isa_common.c > Log: > Don't assume that any ISA device that fails to probe is a PnP device, > instead, use the bus_print_child_* functions to display the error message. > Also, since this is more of a warning than an error, hide it behind > bootverbose. > > Similarly, if isa_assign_resources() fails to allocate resources to a > device, use bus_print_child_header() instead of device_printf(), and > display the resources that could not be allocated if bootverbose is true. > > Approved by: msmith > Help from: mdodd This fixes the annoying "isa0: <@@@0000> found" messages to give more useful errors when booted verbose and to be silent otherwise. One bug this exposes right now is that any device used in the console that has hints ends up being probed twice. :-/ -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message