Re: ISA slot detection on PCI systems?

H. Peter Anvin
2002-01-05T07:04:20Z

Followup to: <20020103133912.B17280@suse.cz>
By author: Vojtech Pavlik <vojtech@suse.cz>
In newsgroup: linux.dev.kernel
>
> 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.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>