From: "H. Peter Anvin" <hpa@xxxxxxxxx> Date: Wed, 17 May 2006 13:37:12 -0700 (PDT) > Is there a way to get that information from userspace, and if not, > should there be a general way to do it or an ad hoc solution? It sort > of looks like arch/sparc64/prom describes a form of filesystem, but I > don't see any obvious userspace interface. There are two ways. First option is to mount the "openpromfs" filesystem under /proc/openprom, the full firmware device tree and properties are available under there as a filesystem. The second option is to load the /dev/openprom driver, which you open, and then access using ioctls() defined in <asm/openpromio.h> - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html