Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 19:10:44 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        Peter Wemm <peter@netplex.com.au>, John-Mark Gurney <gurney_j@resnet.uoregon.edu>, "Zach N. Heilig" <znh@thequest.net>, freebsd-current@freebsd.org
Subject:   Re: PNP ids missing in sio.c 
Message-ID:  <199909050210.TAA08633@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 05 Sep 1999 00:15:20 BST." <Pine.BSF.4.10.9909050013240.2081-100000@salmon.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm curious what can be made of the PNP resource list we get from the BIOS
> > at boot time...  It lists motherboard resources too, we could probably end
> > up with a fairly complete map of known resources to avoid.
> 
> I bet we can roll another enumerator similar to pnp.c which takes the bios
> output and turns it into devices. It would mean removing all the probe
> hints from your kernel config to avoid confusion but apart from that it
> should work really well.

This is one reason why I think that the PnP scan should be done 
_before_ the legacy scan; there are cases where the legacy scan is 
going to find stuff that the PnP enumerator also knows about.  If the 
PnP enumerator has already found it, then the legacy scan aborts; in 
the reverse situation the PnP enumerator has no way of knowing that the 
device has already been claimed.

As for the BIOS PnP info; all I'm doing at the moment is scanning for 
device and compat IDs.  Since the information is formatted in exactly 
the same fashion as ISA PnP data, I was hoping to actually dump the 
current pointless scan and hook the BIOS access method into the new PnP 
code.

Another argument for making the PnP scan first is that the BIOS 
identifies a whole pile of "do not go there" regions which you don't 
want anything, even a legacy device probe, looking at.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909050210.TAA08633>