freebsd-skq/sys/sparc64
marcel 2432ffe7fb Add function OF_decode_addr(). This function obtains the physical
address of the device identified by its phandle_t by traversing OFW's
device tree. The space and address returned by this function can
subsequently be passed to sparc64_fake_bustag() to construct a valid
tag and handle for use by the newbus I/O functions.

Use of this function is expected to be limited to pre-newbus access to
devices, such as consoles and keyboards.

Partially obtained from: tmm
Reviewed by: jake, jmg, tmm
SBus testing made possible by: jake
Tested with: LINT
2003-09-02 20:32:12 +00:00
..
central Use M_WAITOK. 2003-02-19 17:25:58 +00:00
compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
conf Enable OFW_NEWPCI until jmg's 2003/06/21 18:26:08 PDT bus commit is fixed 2003-08-19 21:57:29 +00:00
creator Add a driver for creator upa frame buffers found in many sparc64 machines. 2003-08-24 01:15:40 +00:00
ebus s=include <ofw/=include <dev/ofw/= to reflect removal of -I$S/dev 2003-08-23 00:11:16 +00:00
fhc Fix definite panic when releasing interrupt resources. 2003-02-19 19:40:40 +00:00
include Add function OF_decode_addr(). This function obtains the physical 2003-09-02 20:32:12 +00:00
isa s=include <ofw/=include <dev/ofw/= to reflect removal of -I$S/dev 2003-08-23 00:11:16 +00:00
pci s=include <ofw/=include <dev/ofw/= to reflect removal of -I$S/dev 2003-08-23 00:11:16 +00:00
sbus s=include <ofw/=include <dev/ofw/= to reflect removal of -I$S/dev 2003-08-23 00:11:16 +00:00
sparc64 Add function OF_decode_addr(). This function obtains the physical 2003-09-02 20:32:12 +00:00