]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a kernel interface (OF_xref_phandle()) for systems where phandles
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>
Sun, 15 Sep 2013 14:19:17 +0000 (14:19 +0000)
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>
Sun, 15 Sep 2013 14:19:17 +0000 (14:19 +0000)
commitc088841850a3cf9119a942bab99c3ae2bf723911
treefe3ff164532f1f65b1e3f0ea2a314284c1f99fe8
parentc775ab573d1384fa8598eb48b06aa63f0d6aab20
Add a kernel interface (OF_xref_phandle()) for systems where phandles
used as cross-references in the device tree and phandles as used by the
Open Firmware client interface are in different namespaces. This include
IBM pSeries hardware as well as FDT systems. FDT certainly abuses
ihandles for this purpose and should be modified to use this API
eventually. This changes no behavior on systems where FreeBSD already
worked.

Reviewed by: marius
Approved by: re (kib)
MFC after: 2 weeks
sys/dev/ofw/ofw_bus_subr.c
sys/dev/ofw/openfirm.c
sys/dev/ofw/openfirm.h
sys/powerpc/ofw/ofw_pcibus.c