Do either of you have an example program to try?
libpciaccess is rather different on Solaris than on Linux, as the underlying OS
access is very different. I doubt it's a generic libpciaccess problem.
Martin Bochnig wrote:
Hi Jean, thanks for your technical help and sponsorship so far, plus
for bringing this up on this list.
Maybe Edward Shu can help us, see
http://lists.freedesktop.org/archives/xorg/2007-May/024820.html .
... or maybe Ian Romanick, who wrote libpciaccess in the first place.
I CC: both of them plus added 2 further relevant lists.
I hope we can nail this one down once and forever, finally! In the
interest of the SPARC-OpenSolaris user base and community.
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.
.:*~*:._.:*~))HAPPY NEW YEAR TO ALL, btw)))_.:*~*:._.:*~*:.
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.
Cheers,
%martin
On Thu, Dec 31, 2009 at 4:48 PM, jf simon <j...@themis.com> wrote:
hi
As already reported by Martin Bochnig a while back, i too am
having problem with libpciaccess on Sparc.
it seems that when the code in function
src/solx_devfs.c::pci_device_solx_devfs_probe()
is doing
...
(void) di_walk_node(rnode, DI_WALK_CLDFIRST,
(void *)&args, find_target_node);
...
the callback find_target_node() is recursively called, BUT is not
finding the right node (from device tree) it is looking for. as a
result the MMIO base addresses from "assigned-addresses" are not
found. so it is impossible to find the PCI MMIO base address of a
given device.
i have printed all the nodes that are passed to
find_target_node() and it seems that they are wrongly built. (no
"reg" or "assigned-addresses" properties seen.
so there is a problem between libpciaccess (sparc) and the
libdevinfo library.
prtconf(1) is working fine on sparc and is using libdevinfo. i
have looked at it and i can't see any meaningful differences with
what libpciaccess is doing. (di_init() ,...)
any ideas?
thanks a lot,
Best regards,
_______________________________________
jean-francois simon - themis computer
5, rue irene joliot curie
38320 eybens - france
+33 (0)4 76 14 77 85 - www.themis.com
_______________________________________________
on-discuss mailing list
on-disc...@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/on-discuss
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org