From owner-freebsd-hackers Tue May 5 23:06:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA17674 for freebsd-hackers-outgoing; Tue, 5 May 1998 23:06:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA17663 for ; Tue, 5 May 1998 23:06:25 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id XAA01308; Tue, 5 May 1998 23:05:56 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma001304; Tue May 5 23:05:41 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id XAA22438; Tue, 5 May 1998 23:05:41 -0700 (PDT) From: Archie Cobbs Message-Id: <199805060605.XAA22438@bubba.whistle.com> Subject: Re: ISA-PnP w\o BIOS support? In-Reply-To: <199805060355.FAA09523@labinfo.iet.unipi.it> from Luigi Rizzo at "May 6, 98 05:55:56 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Tue, 5 May 1998 23:05:41 -0700 (PDT) Cc: stefan@promo.de, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luigi Rizzo writes: > > I agree with Stefan's sentiment. It seems like this should be > > the paradigm: > ... > > device foo0 port 0x220 irq 7 vector foointr > > i notice you did not put the "at isa?" specification -- is this > deliberate or not ? because in this case one could differentiate > between legacy isa and PnP stuff. Not deliberate.. just forgot :-) > In any case there are two major problems in my view: > 1) to do automatic resource assignment you'd need to know which > resources are available. Maybe the bios knows (more or less, since > legacy isa devices with no driver cannot be easily detected, and the > PnP detection of conflicts i am not sure how well it works), > but i have no idea on how to fetch this info Couldn't the config file account for all of the resources in use? This might require adding some "dummy" entries or .. ? I mean, if the kernel doesn't know about some interrupt being used, then who else is using it and what the heck for? I guess I don't completely understand this issue. > 2) providing a configuration in the kernel config file via "device..." > entry is hard, since a single pnp device can have 8 io ports, 2 drq, 2 > irq, 4 memory addresses ... how do you fit this info in the few bits > available on the "device" line ? Fix "config" to handle it. In the meantime, don't support devices that use more than the "normal" number of resources. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message