From owner-freebsd-hackers Wed May 6 08:19:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13603 for freebsd-hackers-outgoing; Wed, 6 May 1998 08:19:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13576 for ; Wed, 6 May 1998 08:19:24 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA22384; Wed, 6 May 1998 09:17:29 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA05337; Wed, 6 May 1998 09:17:25 -0600 Date: Wed, 6 May 1998 09:17:25 -0600 Message-Id: <199805061517.JAA05337@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: Archie Cobbs , stefan@promo.de (Stefan Bethke), luigi@labinfo.iet.unipi.it, freebsd-hackers@FreeBSD.ORG Subject: Re: ISA-PnP w\o BIOS support? In-Reply-To: <199805060626.XAA01524@antipodes.cdrom.com> References: <199805060028.RAA18956@bubba.whistle.com> <199805060626.XAA01524@antipodes.cdrom.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > CASE #1: Kernel config file looks like this: > > -------------------------------------------- > > > > device foo0 > > > > In this case, the kernel automatically configures stuff for driver > > foo0. If the BIOS has already configured the card, and that's > > acceptable, the kernel can go along. Otherwise, the kernel should > > pick resources that are free and configure the card itself. > > > > > > CASE #2: Kernel config file looks like this: > > -------------------------------------------- > > > > device foo0 port 0x220 irq 7 vector foointr > > > > Kernel should override whatever is already configured in the > > card (if anything) with the given values. > > > > > > Does this make sense to anyone else besides me? What are the > > technical things that need to be done to make it happen? > > This actually falls a little short. It's easier to look at it from a > different angle, too. > > For each PnP device/function in the system ... > For each explicitly-configured ISA devices ... Things is, this falls really short for non-ISA/non-PnP devices as well. Think hot-swappable devices, and devices that *really* no one knows about? Also, devices that can use IRQ's, but don't necessarily need them. How do you say 'go ahead and use it', vs. 'don't bother'. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message