| #
cfae4096 |
| 15-Nov-2011 |
Henry Zhao <[email protected]> |
Solaris: improve support for sparc platform
(1) added prom property retrieval on sparc (2) added multiple domain support on sparc (3) use kernel device as mapping device (4) performance improvements
Solaris: improve support for sparc platform
(1) added prom property retrieval on sparc (2) added multiple domain support on sparc (3) use kernel device as mapping device (4) performance improvements by removing redundant ioctl
Signed-off-by: Henry Zhao <[email protected]> Reviewed-by: Alan Coopersmith <[email protected]> Signed-off-by: Alan Coopersmith <[email protected]>
show more ...
|
| #
803bf3aa |
| 05-Oct-2011 |
Alan Coopersmith <[email protected]> |
Solaris: Give better error on realloc failure
commit a18460b385ae03 converted from a fixed maximum number of devices to dynamically growing the list via realloc, but didn't update the error message
Solaris: Give better error on realloc failure
commit a18460b385ae03 converted from a fixed maximum number of devices to dynamically growing the list via realloc, but didn't update the error message shown on failure.
Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Dirk Wallenstein <[email protected]> Reviewed-by: Mark Kettenis <[email protected]>
show more ...
|
| #
a18460b3 |
| 29-Mar-2011 |
John Martin <[email protected]> |
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 neede
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 <[email protected]> Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Adam Jackson <[email protected]>
show more ...
|
| #
30bfd795 |
| 21-Nov-2010 |
Alan Coopersmith <[email protected]> |
Sun's copyrights belong to Oracle now
Signed-off-by: Alan Coopersmith <[email protected]>
|
| #
b775e6fa |
| 15-Jan-2010 |
Alan Coopersmith <[email protected]> |
Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <[email protected]>
|
| #
7f08a1e1 |
| 18-Apr-2009 |
Alan Coopersmith <[email protected]> |
Fix unused variable warnings in Solaris code
solx_devfs.c: In function `find_target_node': solx_devfs.c:672: warning: unused variable `prop' solx_devfs.c:673: warning: unused variable `i'
Signed-of
Fix unused variable warnings in Solaris code
solx_devfs.c: In function `find_target_node': solx_devfs.c:672: warning: unused variable `prop' solx_devfs.c:673: warning: unused variable `i'
Signed-off-by: Alan Coopersmith <[email protected]>
show more ...
|
| #
be748a7b |
| 15-Apr-2009 |
Alan Coopersmith <[email protected]> |
Sun bug 6811468: pci_device_solx_devfs_probe accesses freed memory
di_fini() is being called in pci_device_solx_devfs_probe() The di_fini (3DEVINFO) man page says "All handles associated with this
Sun bug 6811468: pci_device_solx_devfs_probe accesses freed memory
di_fini() is being called in pci_device_solx_devfs_probe() The di_fini (3DEVINFO) man page says "All handles associated with this snapshot become invalid after the call to di_fini()". But after that, eight lines down, the subroutine was calling di_prop_lookup_ints with a handle args.node which was stored from walking the device tree, and then using the pointers that returned even further down.
Signed-off-by: Alan Coopersmith <[email protected]>
show more ...
|
| #
c56da48e |
| 15-Apr-2009 |
Alan Coopersmith <[email protected]> |
Fix const mismatch compiler warnings in Solaris backend
Signed-off-by: Alan Coopersmith <[email protected]>
|
| #
f6084593 |
| 15-Apr-2009 |
edward shu <[email protected]> |
Sun bug 6785726: libpciaccess needs to use the correct BAR index on solaris
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6785726>
Signed-off-by: Alan Coopersmith <alan.coopersmith@su
Sun bug 6785726: libpciaccess needs to use the correct BAR index on solaris
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6785726>
Signed-off-by: Alan Coopersmith <[email protected]>
show more ...
|
| #
5bf4b32c |
| 23-Jan-2009 |
Alan Coopersmith <[email protected]> |
Solaris: Use bus-range properties to limit busses scanned on each node
Based on code provided by [email protected]
|
| #
f537fc50 |
| 17-Oct-2008 |
Alan Coopersmith <[email protected]> |
More minor Solaris cleanups
|
| #
9a5565c7 |
| 17-Oct-2008 |
Alan Coopersmith <[email protected]> |
Clean up formatting of solx_devfs.c
|
| #
de97e7e4 |
| 16-Oct-2008 |
Alan Coopersmith <[email protected]> |
Fix bus probing on Solaris/SPARC
|
| #
110cdac9 |
| 16-Oct-2008 |
Alan Coopersmith <[email protected]> |
Correct Sun license notice
|
| #
64d0c836 |
| 15-Oct-2008 |
Alan Coopersmith <[email protected]> |
Correct comment about devices used on Solaris
|
| #
d43d21c8 |
| 15-Oct-2008 |
Alan Coopersmith <[email protected]> |
Fix various typos (mostly in comments)
|
| #
ded8326f |
| 09-May-2008 |
Alan Coopersmith <[email protected]> |
Fix lint warnings in solx_devfs.c
|
| #
2ac461b2 |
| 09-May-2008 |
Alan Coopersmith <[email protected]> |
Initialize err to 0 in pci_device_solx_devfs_map_range
Prevents returning errors when mapping actually succeeds
|
| #
63983e23 |
| 27-Sep-2007 |
Alan Coopersmith <[email protected]> |
Fix Solaris build: missing static prototype & typo in variable name
|
| #
08ff9f7f |
| 31-Aug-2007 |
Ian Romanick <[email protected]> |
New interfaces to map memory with MTRR (or similar) support.
Added new functions pci_device_map_range and pci_device_unmap_range to handle mapping of PCI device BARs. These new interfaces allow the
New interfaces to map memory with MTRR (or similar) support.
Added new functions pci_device_map_range and pci_device_unmap_range to handle mapping of PCI device BARs. These new interfaces allow the possiblity of MTRRs on platforms that support them.
These additional APIs necessitated changing some internal interfaces. The code for FreeBSD and Solaris has been updated but has not been compiled or tested.
Old interfaces are marked deprecated and will eventually be removed.
show more ...
|
| #
206e2921 |
| 06-Jun-2007 |
edward shu <[email protected]> |
Libpciaccess on Solaris Initial integration
Libpciaccess on Solaris Initial integration. It depends on devfs to access pci configuration space, also xsvc is used for memory map.
|