From owner-cvs-all Mon Apr 12 1:16: 7 1999 Delivered-To: cvs-all@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id 311C5154B6; Mon, 12 Apr 1999 01:16:01 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (Postfix) with ESMTP id 473391F4F; Mon, 12 Apr 1999 16:13:41 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Alfred Perlstein Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: sys/pci pci.c In-reply-to: Your message of "Mon, 12 Apr 1999 03:07:26 EST." Date: Mon, 12 Apr 1999 16:13:41 +0800 From: Peter Wemm Message-Id: <19990412081343.473391F4F@spinner.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Alfred Perlstein wrote: > > -= New-bus architecture repository =- [..] > I haven't looked at the code yet but was wondering if there is any > provision for pre-probing devices. > > specifically i'm interested in fixing the console stuff to be more > modular ie. allocating a device for input and another for output for > different subsystems specifically system console, DDB and GDB seperatly, > it seems like after this new code i will have to start from scratch, > i'm just hoping there will be a way to do this and to notify a device > that it has already been probed or allocated for something else. > > is this possible? Hmm.. I'm not quite sure what it is that you're trying to do, but I'll mention a couple of things that might help: 1: probing is easy. You just tell the root of the tree to probe, and it and all the children do whatever is required. 2: reprobing.. detecting if things have gone away.. I don't know about that. Removing children could probably be made to notify back up the tree, and in the console case, trigger a reprobe. I don't know. 3: we have not touched the "console" mechanism, although a root device for a console so that console drivers could attach to it could probably work. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message