]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Re-write OF_decode_addr() with a bus-neutral approach, adding support
authorMarius Strobl <marius@FreeBSD.org>
Sat, 12 Feb 2005 19:13:51 +0000 (19:13 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Sat, 12 Feb 2005 19:13:51 +0000 (19:13 +0000)
commit2b2250b149706f492dd615a518aa669e39b78d0a
tree8c3494abe479d4ea6134e8eeb29edf2080200ad4
parent61e2f2652663c113ced0560d165417adf58149a8
- Re-write OF_decode_addr() with a bus-neutral approach, adding support
  for nodes hanging off of Central (untested), FireHose (untested) and
  PCI (tested) busses.
- Add an additional parameter to OF_decode_addr() which specifies the
  index of the register bank to decode.

These should allow to eventually add support for the Z8530 hanging off of
FireHose to uart(4) and to write support for PCI-based graphics adapters.

Suggested by: tmm (back in '03)
sys/dev/uart/uart_cpu_sparc64.c
sys/sparc64/include/ofw_machdep.h
sys/sparc64/sparc64/ofw_machdep.c