From owner-freebsd-hackers Wed Jan 10 11:46:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA25809 for hackers-outgoing; Wed, 10 Jan 1996 11:46:45 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA25803 for ; Wed, 10 Jan 1996 11:46:41 -0800 (PST) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.12) with ESMTP id LAA00916; Wed, 10 Jan 1996 11:46:06 -0800 Message-Id: <199601101946.LAA00916@rah.star-gate.com> X-Mailer: exmh version 1.6.5 12/11/95 To: Terry Lambert cc: freebsd-hackers@FreeBSD.org Subject: Re: PnP problem... In-reply-to: Your message of "Wed, 10 Jan 1996 12:28:18 MST." <199601101928.MAA15178@phaeton.artisoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Jan 1996 11:46:05 -0800 From: "Amancio Hasty Jr." Sender: owner-hackers@FreeBSD.org Precedence: bulk >>> Terry Lambert said: > > > However, the PnP discovery ordering is: > > > > > > 1) disable all PnP > > > 2) probe all non-PnP cards > > > 3) Query PnP cards for where they may fit > > > 4) Do a topological sort to fit them all > > > 5) Make them pick one to disable if the sort results in a > > > collision. Repeat as necessary. > > > 6) Map the mappable locations > > > 7) Enable the PnP cards that were not marked disabled > > > 8) Attach drivers as available, loading them if necessary > > > > Well, Terry it makes no sense to activate devices which I don't > > have a device driver who knows I may even be able configure my > > system 8) > > You have no choice. If you have a non-PnP motherboard with ISA, > your ISA slot devices that are not PnP *are active*. > Lets take this a step a time. In my case, I have a PnP motherboard. 1) disable all PnP 2) probe all non-PnP cards 3) Query PnP cards for where they may fit 4) Do a topological sort to fit them all How am I supposed to know that I have a driver for a given PnP device? If I know in advance which device drivers I have in the system I stand a very good change to configure my system. Also do you care to elaborate on what is a "topological sort" and how is applicable to our scenario? Last but not least the steps you are outlining would probably work well in Win95 because they have a way to remember which boot sequence failed. In our case, we want to succeed the first time 8) Tnks, Amancio