From owner-freebsd-multimedia Thu Jul 31 00:23:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA12078 for multimedia-outgoing; Thu, 31 Jul 1997 00:23:54 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA12072; Thu, 31 Jul 1997 00:23:41 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id AAA00321; Thu, 31 Jul 1997 00:22:51 -0700 (PDT) Message-Id: <199707310722.AAA00321@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: se@FreeBSD.ORG (Stefan Esser), hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: Advice sought on PnP configuration In-reply-to: Your message of "Thu, 31 Jul 1997 07:07:59 +0200." <199707310507.HAA05175@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 31 Jul 1997 00:22:51 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Luigi Rizzo : > > > > On Jul 30, Luigi Rizzo wrote: > > > HOWEVER: this relies on the PnP (or PCI for what matters) BIOS to > > > work correctly (which might be false, see at the end of the message). > > > > Well, there are **lots** of non-PnP mother boards out there > > (and I happen to own one, and for that reason I care :) > > > > Whatever solution we finally implement, we must be able to > > attach PnP boards without any help from the PnP BIOS. > > Ok, so you are calling for a more powerful configuration mechanism, > whereas I was trying to see if I could implement something much simpler > which would not require user help, etc.etc. > > > What do you think about my proposed sequence ? > > I like it, the only problem is I am unable to implement it myself :) You can . The gus pnp sub module does just that. For non-PnP boards it takes the configuration information from the config file . --- device gus0 at isa? port 0x220 irq 11 drq 5 flags 0x7 vector gusintr --- When the driver sees the configuration information for the card it just simply overrides whatever the BIOS set the card to or in the case of a non-PnP bios it sets the card to the desired configuration. Just code up the driver as you planned and when you are done I can step in and wrap it up. Cheers, Amancio