]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Re-write OF_decode_addr() with a bus-neutral approach, adding support
authormarius <marius@FreeBSD.org>
Sat, 12 Feb 2005 19:13:51 +0000 (19:13 +0000)
committermarius <marius@FreeBSD.org>
Sat, 12 Feb 2005 19:13:51 +0000 (19:13 +0000)
commit72f77d17e566e2695be53260aa60ebe59b3aa730
tree8c3494abe479d4ea6134e8eeb29edf2080200ad4
parent5d5869d1e1a6ae4ab65ccb7f5c22517e13a0ab31
- 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