Re: ISA slot detection on PCI systems?

From: H. Peter Anvin (
Date: Sat Jan 05 2002 - 15:29:22 EST

Dave Jones wrote:

> On Sat, 5 Jan 2002, Albert D. Cahalan wrote:
>>Of course, /proc/bus/pci contains forbidden binary files.
>>You're supposed to be happy with ASCII text, as found in
>>the /proc/pci file.
> You miss the point. The point was that /proc/pci doesn't
> expose all of pci config space, whereas /proc/bus/pci does.
> The fact that it's binary instead of ascii is neither here nor there.

... and if you want to see something that's worse than either, check out
/proc/ide/hda/identify. Converting binary to hex doesn't aid in display
in any shape, way, or form; all it does is make it impossible to use
"dd" to do what I want, or from using my own hexdump tool.

Binary has a place, and "ASCII for ASCIIs sake" is just stupidity.


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:29 EST