Re: ISA slot detection on PCI systems?

From: H. Peter Anvin (hpa@zytor.com)
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.

        -hpa

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