OSDN Git Service

Solaris support for multiple PCI segments (domains)
authorJohn Martin <John.M.Martin@Oracle.COM>
Tue, 29 Mar 2011 00:51:19 +0000 (17:51 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Wed, 30 Mar 2011 22:41:13 +0000 (15:41 -0700)
commita18460b385ae034830e4efbaaed7e0665c53ad9f
tree073b3436492506921683f14917e2e0459545e6fa
parentf3e283a25f5fca4f750bb9538d69c4f36641cca5
Solaris support for multiple PCI segments (domains)

1. Removed hardcoded maximum size of 256 PCI devices, which is
too small for large systems.  The number of devices is dynamically
resized as needed.

2. pci_device_solx_devfs_probe() no longer walks the device tree
from the very top ("/") but instead starts at the nexus which
owns the bus.  Performance optimization for systems with multiple
bus nodes (including systems with just one segment/domain).

3. Added support for multiple domains/segments.  Code tested
on kernels with and without multiple segment support so it should
be safe to integrate independent of the kernel version.

Signed-off-by: John Martin <John.M.Martin@Oracle.COM>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
COPYING
src/solx_devfs.c