Re: ISA slot detection on PCI systems?

From: H. Peter Anvin (hpa@zytor.com)
Date: Sat Jan 05 2002 - 02:03:24 EST


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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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