From owner-cvs-all Sat Jan 16 11:04:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA10926 for cvs-all-outgoing; Sat, 16 Jan 1999 11:04:38 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA10917; Sat, 16 Jan 1999 11:04:30 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by nlsystems.com (8.9.1/8.8.5) with SMTP id TAA34838; Sat, 16 Jan 1999 19:03:47 GMT Date: Sat, 16 Jan 1999 19:03:47 +0000 (GMT) From: Doug Rabson To: Andrzej Bialecki cc: Doug Rabson , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys bus.h src/sys/kern subr_bus.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sat, 16 Jan 1999, Andrzej Bialecki wrote: > On Sat, 16 Jan 1999, Doug Rabson wrote: > > > dfr 1999/01/16 09:44:09 PST > > > > Modified files: > > sys/sys bus.h > > sys/kern subr_bus.c > > Log: > > A few small improvements to the bus code: > > > > * A function device_printf() to make pretty-printing driver messages easier. > > While you're at it... I think it would be nice if the probe messages were > printed in some orderly fashion (e.g. like SCO does it)., instead of the > current mess. Someone even said that a person who saw FreeBSD booting for > the first time was scared that something broke... :-). But, seriously, > how about reformatting the probe messages to something like this: > > Driver Unit Bus Irq Drq IOport Maddr Msize Description > ------+----+---+---+---+------+-------+-----+---------------------------- > ed 0 ISA 5 - 0x300 0xd8000 --- NE2000-compat Ethernet card > fdc 0 ISA 6 2 0x3f0 --- --- Floppy drive controller > > etc, etc, with more details available on request (i.e. boot: -v). This > should give a much better first-time impression... I'm not sure how popular this will be. Driver writers seem to like printing all kinds of stuff during probe/attach. Perhaps its better to just hide the lot behind a nice splash screen :-). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message