[openib-general] Re: mstflint failing on sparc64
Roland Dreier
roland.list at gmail.com
Thu Jan 6 10:55:19 PST 2005
> I know. But where does lspci get the domain number?
>From sysfs -- lspci goes through the entries in /sys/bus/pci/devices.
If you strace lspci on a modern distro, you can see it doesn't open
anything in /proc.
> Cool, how do *they* look in /proc/bus/pci/devices?
As you can see from show_device in drivers/pci/proc.c, the domain number
is not listed in /proc/bus/pci/devices. So that interface is not useful on
multi-domain systems.
- R.
More information about the general
mailing list