From owner-freebsd-hackers Wed Jul 10 11:18:48 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA01892 for hackers-outgoing; Wed, 10 Jul 1996 11:18:48 -0700 (PDT) Received: from sujal.prognet.com (sujal.prognet.com [204.255.154.231]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA01879 for ; Wed, 10 Jul 1996 11:18:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by sujal.prognet.com (8.7.5/8.7.3) with SMTP id LAA00477; Wed, 10 Jul 1996 11:18:44 -0700 (PDT) Date: Wed, 10 Jul 1996 11:18:44 -0700 (PDT) From: Sujal Patel To: JULIAN Elischer cc: hackers@FreeBSD.org, thorpej@netbsd.org Subject: Re: Puting PnP support into -current by default In-Reply-To: <199607101804.LAA23385@ref.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 10 Jul 1996, JULIAN Elischer wrote: > > ftp://freefall.freebsd.org/incoming/FreeBSD-ISA_PnP_June8.tar.gz > I think you meant July8 whe you wrote that file :) > > seriously.. how close is this to being put into the kernel source tree > by default.. > I know I'd like to see it as we recently had to send back > some PnP modems. > > I volunteer to put these into -current if no-one else complains.. There are somes issues that need to be solved before I can really integrate this into -current... This is priority #1 on my list of large FreeBSD projects, so I *hope* that I can integrate it in soon. The biggest problem is that currently you have to stuff the IRQ/Port/DRQ into a big struct, so that the PnP device can be configured. There are so many options for PnP devices that this doesn't fit into the BSD configuration scheme well. The best solution for this problem would be to write a configuration manager for FreeBSD. The configuration manager could be used to set the parameters for all devices, and as a side function control the operation of PnP devices as well. If we get three stage boot blocks, we could probably even reuse a lot of the code for this configuration manager to write a better "-c" from the boot block. I really don't like the idea of commiting code into -current that requires the user to manually edit the source. I also don't like the idea of adding all of these options to the config program, because this is far from desirable. I'm open to any suggestions at this point, to get this code quickly integrated into FreeBSD. The low-level stuff in the PnP driver is rock solid, now I just need to work on the user interface to all of this stuff (sometimes the hardest part). Sujal