Date: Wed, 4 Nov 1998 23:00:51 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Peter Wemm <peter@netplex.com.au>, Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>, sos@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/modules/syscons saver.h ... Message-ID: <Pine.BSF.4.01.9811042256570.19324-100000@herring.nlsystems.com> In-Reply-To: <199811041602.LAA21681@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Nov 1998, Garrett Wollman wrote: > <<On Wed, 04 Nov 1998 18:55:50 +0800, Peter Wemm <peter@netplex.com.au> said: > > > I'm really hoping that Garrett comes up with something useful for a real > > isa configuration system under the new framework. > > syscons and psm compile and appear to work (at least, probe and attach > succeed) on my laptop. > > I'm also a bit unhappy with the organization. The soft configuration > of syscons is splattered out all over a bajillion static variables, > and the interfaces to things like kbdio are not at all clean. (I > didn't make any effort to allow configuration of the keyboard > controller port or IRQs.) There are a few things that are totally > missing because the code doesn't supply them to me -- for example, I'd > like to reserve the entire VGA frame buffer, but the code which > might tell me never initializes that part of the data structure. > We still don't usefully deal with PCI graphics cards (but I haven't > gotten that far anyway). > > What I'd like to see is the following: > > device kbd0 at isa? port ? irq 1 > device kbd1 at usb? > device fb0 at isa? port ? maddr ? msize ? > device fb1 at pci? > pseudo-device sc0 > > ...where sc0 knows how to poke around and find the appropriate > keyboard and framebuffer devices and graft itself on top. This would be really nice (but I think the unit numbers should be '?' instead of explicitly specified) and I have daydreamed in this direction before. I always wake up when I try to think about how to get the console working. The console is probed and initialised well before the device tree is configured. For debugging, we really need a working console with keyboard before main() gets called. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9811042256570.19324-100000>