> Yes, but it is like saying that we don't need route or netstat -rn because there
> is /proc/net/route. The /proc/bus/pci/devices is good only if you know all ids
> by heart.
If we compare the situation to what we have with routing, we now get exactly
the same -- for routes you have /proc/net/route and the `route' command to
display it in human-readable format, for PCI you have /proc/bus/pci/devices
and lspci.
It's _really_ not sane to store table of all existing PCI devices in the
kernel along with their names. The era of just a few PCI devices where
/proc/pci was a possibility (although not a good one) is gone...
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 "IBM = International Band of Magicians"- 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/