Re: ISA slot detection on PCI systems?

From: Vojtech Pavlik (
Date: Sun Jan 06 2002 - 16:03:36 EST

On Fri, Jan 04, 2002 at 11:03:24PM -0800, H. Peter Anvin wrote:

> > It's still not very nice for userspace apps to touch hardware directly,
> > even if it's just BIOS memory ...
> >
> Red herring. It's not very nice for *applications* to not indirect
> through a driver, but if that driver is in userspace or kernel space
> is irrelevant. Incidentally, "applications" here include a lot of the
> parsers that produce /proc output. /proc/pci is occationally handy,
> but it is also an example on why you shouldn't do data reduction in
> kernel space unless you can avoid it. Now /proc/bus/pci is available
> and contains all the data, however.

I don't propose having human-readable output of DMI data in /proc, just
the binary data much like /proc/bus/pci has. That isn't much bloat in
kernel, and is a clearly defined interface, unlike reading /dev/kmem.

Vojtech Pavlik
SuSE Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:31 EST