Subject: Re: OFW based PCI probe routine.
To: Chris G. Demetriou <cgd@sibyte.com>
From: Allen Briggs <briggs@wasabisystems.com>
List: tech-kern
Date: 02/12/2001 19:36:42
On Mon, Feb 12, 2001 at 04:32:39PM -0800, Chris G. Demetriou wrote:
> maybe it makes you shudder, but something as simple as code that fills
> in, or returns an array of 32 (signed) chars that indicate ordering
> could do the trick.  array entry value is slot number.  -1 means 'skip
> this array entry'.

Yeah.  This is the least ugly thing that I could come up with, except I
had -1 be the end of the probe since I don't see how it makes sense for
that to be a sparse array.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service