Re: ISA slot detection on PCI systems?

Dave Jones
2002-01-02T23:11:34Z

On Wed, 2 Jan 2002, Eric S. Raymond wrote:

> > > Just took a quick look at dmidecode.c and auditing this code doesn't
> > > seem out of reach.
> > Exactly. And 90% of it can be ditched.
> But a setuid program *will not solve my problem*.

Given decoding DMI isn't going to get you 100% fool proof way of
detecting slots (See posts on laptops/other usually-with-crap-bios
hardware), I think you're barking up the wrong tree with this
anyway.

And if you don't know what hardware you've got in the box your
configuring a kernel for, its questionable that you should be
doing so in the first place.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs