Re: /proc/pci -- /proc/bus/pci discrepancy

Martin Mares (mj@ucw.cz)
Sun, 27 Dec 1998 16:14:51 +0100


Hello,

> Hmmm ... I am not sure that a smiley was appropriate in your reply.
> AFAIR, until somebody, you hopefully know very well, changed the PCI code,
> IRQ numbers were correctly reported in _decimal_ by pci.c.

Actually, it wasn't me -- I have just moved the old code to oldproc.c
and didn't touch its format at all except for formatting of 64-bit
addresses. I did some investigation to figure out where did this change
appear and it turned out that the format was changed by DaveM when he wanted
UltraSparc 32-bit IRQ numbers to be shown in a reasonable way. As /proc/pci
is only a backward-compatibility option now, we can safely switch
back to decimal IRQ numbering. That's all. Sending a patch to Linus :-)

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"If Windows is User-Friendly, why do you need to read a 426 pages manual?"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/