freebsd-dev/sys/sparc64/include
Marius Strobl 26280d88d7 - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
subset ("compatible", "device_type", "model" and "name") of the standard
  properties in drivers for devices on Open Firmware supported busses. The
  standard properties "reg", "interrupts" und "address" are not covered by
  this interface because they are only of interest in the respective bridge
  code. There's a remaining standard property "status" which is unclear how
  to support properly but which also isn't used in FreeBSD at present.
  This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
  ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
  vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
  This in turn allows to simplify and remove code-duplication in drivers for
  devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
  drivers for their children to use the ofw_bus kobj-interface. The IVAR-
  interfaces of the Central, EBus and FHC are entirely replaced by this. The
  PCI bus driver used its own kobj-interface and now also uses the ofw_bus
  one. The IVARs special to the SBus, e.g. for retrieving the burst size,
  remain.
  Beware: this causes an ABI-breakage for modules of drivers which used the
  IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
  recompiled.
  The style-inconsistencies introduced in some of the bus drivers will be
  fixed by tmm@ in a generic clean-up of the respective drivers later (he
  requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
  use the ofw_bus kobj-interface. This invloves removing the IVARs related
  to the "reg" property which were unused and a leftover from the NetBSD
  origini of the code. There's no ABI-breakage caused by this because none
  of these driver are currently built as modules.
  There are other powerpc bus drivers which can be converted to the ofw_bus
  kobj-interface, e.g. the PCI bus driver, which should be done together
  with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
  advantage of the ofw_bus kobj-interface and simplify them a bit.

Reviewed by:	grehan, tmm
Approved by:	re (scottl)
Discussed with:	tmm
Tested with:	Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
2004-08-12 17:41:33 +00:00
..
_inttypes.h
_limits.h
_stdint.h <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is 2004-05-18 16:04:57 +00:00
_types.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
asi.h
asm.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
asmacros.h Remove filename+line number from panic messages. 2004-06-06 21:26:49 +00:00
atomic.h Use unsigned types for the arguments of the atomic(9) operations, 2004-05-22 00:52:16 +00:00
bus_common.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
bus_memio.h
bus_pio.h
bus_private.h Retire BUS_DMAMAP_NSEGS for sparc64 2004-06-28 04:04:43 +00:00
bus.h Switch sparc64 busdma to use a dynamically allocated segment list rather 2004-06-28 03:49:13 +00:00
cache.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
ccr.h
clock.h
cpu.h Instead of calling ia32_pause() conditionally on __i386__ or __amd64__ 2004-08-03 18:44:27 +00:00
cpufunc.h Switch from BSD-style u_intXX_t to ISO C99 uintXX_t. 2004-05-22 00:47:26 +00:00
critical.h Pass a thread argument into cpu_critical_{enter,exit}() rather than 2004-07-27 16:41:01 +00:00
db_machdep.h Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
eeprom.h - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
elf.h Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
endian.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
exec.h
float.h Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation 2004-04-25 02:36:29 +00:00
floatingpoint.h
fp.h
frame.h Remove obsolete prototype of kdb_trap(). 2004-07-10 23:05:38 +00:00
fsr.h
gdb_machdep.h Introduce the GDB debugger backend for the new KDB framework. The 2004-07-10 17:47:22 +00:00
idprom.h
ieee.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
ieeefp.h
in_cksum.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
instr.h
intr_machdep.h
iommureg.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
iommuvar.h
kdb.h Introduce the KDB debugger frontend. The frontend provides a framework 2004-07-10 18:40:12 +00:00
kerneldump.h
ktr.h
limits.h
lsu.h
md_var.h
memdev.h Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
metadata.h
mutex.h
nexusvar.h Some cleanups to the nexus code: 2004-04-30 19:50:51 +00:00
ofw_bus.h - Remove the old sparc64 OFW PCI code (as opposed to the former 2004-05-08 13:53:47 +00:00
ofw_machdep.h Some integrated Davicom cards in sparc64 boxes have an all zeros 2004-01-08 19:08:27 +00:00
ofw_mem.h
ofw_nexus.h
ofw_upa.h
param.h Make PAGE_SIZE and related quantities signed on sparc64. (They are signed 2003-10-03 19:49:08 +00:00
pcb.h Implement makectx(). The makectx() function is used by KDB to create 2004-07-10 19:56:00 +00:00
pcpu.h Move the per-CPU vmspace pointer fixup that is required before a 2004-05-26 12:06:52 +00:00
pmap.h Add pmap locking to many of the functions. 2004-08-10 20:53:26 +00:00
proc.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
profile.h Moved most of the "MI" definitions and declarations from <machine/profile.h> 2004-05-19 15:41:26 +00:00
pstate.h
ptrace.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
reg.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h - Modify alpha's sf_buf implementation to use the direct virtual-to- 2003-11-16 06:11:26 +00:00
sigframe.h
signal.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
smp.h
stdarg.h
sysarch.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
tick.h
tlb.h
trap.h
tsb.h
tstate.h
tte.h
ucontext.h
upa.h
utrap.h
varargs.h
ver.h
vmparam.h
watch.h
wstate.h