From owner-freebsd-hackers Wed May 6 01:26:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA09218 for freebsd-hackers-outgoing; Wed, 6 May 1998 01:26:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatekeeper.tsc.tdk.com (root@gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA09181 for ; Wed, 6 May 1998 01:26:03 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id BAA27248; Wed, 6 May 1998 01:20:06 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id BAA09748; Wed, 6 May 1998 01:20:05 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id BAA20482; Wed, 6 May 1998 01:20:04 -0700 (PDT) From: Don Lewis Message-Id: <199805060820.BAA20482@salsa.gv.tsc.tdk.com> Date: Wed, 6 May 1998 01:20:04 -0700 In-Reply-To: Mike Smith "Re: ISA-PnP w\o BIOS support?" (May 5, 11:26pm) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: Mike Smith , Archie Cobbs Subject: Re: ISA-PnP w\o BIOS support? Cc: stefan@promo.de (Stefan Bethke), luigi@labinfo.iet.unipi.it, freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On May 5, 11:26pm, Mike Smith wrote: } Subject: Re: ISA-PnP w\o BIOS support? } 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 } If the device/function is not supported (unknown, no driver present) } deconfigure device (if required) } continue } else } while resources required } allocate new resources } test resources (using PnP test facility if available) } endwhile } if resources available } allocate a new driver instance, assign resources } else } continue } endif } endfor } } For each explicitly-configured ISA devices } if resource config does not conflict with PnP-configured device } allocate resources } if probe succeeds } allocate new driver instance } else } free resources } endif } endif } endfor Why would you not want to reverse the order and configure the explicitly configured ISA devices first and the PnP devices last? If you configure the PnP devices first, they might use resources required by the ISA devices. If you configure the ISA devices first, then you should be able to adjust the resources used by the PnP devices so they don't conflict with the ISA devices. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message