]> git.ipfire.org Git - thirdparty/pciutils.git/commit
proc: Work around broken /proc/bus/pci/ on some architectures.
authorMartin Mares <mj@ucw.cz>
Mon, 29 Jun 2009 17:55:24 +0000 (19:55 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 29 Jun 2009 17:55:24 +0000 (19:55 +0200)
commit0208ff057da35fa3fb18b5c3734a60b2eab02e67
tree0344a46c88857c284952382c40017aa5a19d5d08
parent534fbba975ad68865ebcafa1636233ce43335c9e
proc: Work around broken /proc/bus/pci/ on some architectures.

Several architectures (e.g., sparc64) use domains in proc directory
names, which is inconsistent, because /proc/bus/pci/devices is still
unable to represent domains.

Work around it, so that the proc back-end works at least on single-domain
machines.

Suggested by Matthew Wilcox.
lib/proc.c