freebsd-skq/sys/sparc64
marius 00ec36ddf8 MFC: 1.39
- Merge sys/sparc64/pci/psycho.c rev. 1.8:
  Map the device memory belonging to resources of type SYS_RES_MEMORY into
  KVA upon activation so that rman_get_virtual() works as expected.
- In sbus_alloc_resource() checking whether toffs is 0 as an indication
  that no applicable child range was found isn't appropriate as it's
  perfectly valid for the requested SYS_RES_MEMORY resource to start at
  the beginning of a child range. So check for the RMAN still being NULL
  instead.
- As a minor runtime speed optimization break out of the loop where we
  search for the applicable child range in sbus_alloc_resource() as soon
  as it's found.
- Let sbus_setup_intr() return ENOMEM rather than 0 if it can't allocate
  memory for the interrupt clearing info.
- Actually do what the comment in sbus_setup_intr() says and disable the
  respective interrupt while fiddling with it.
- Remove some superfluous INTVEC() around inr, which already only contains
  the interrupt vector, in sbus_setup_intr().
- While here, fix a style(9) bug in sbus_setup_intr() (don't use function
  calls in initializers).
2006-06-22 20:52:26 +00:00
..
central MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
compile
conf MFC 1.108 to RELENG_6 2006-06-13 02:36:07 +00:00
creator - Declare lookup tables etc. const. 2005-07-10 11:16:34 +00:00
ebus MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
fhc MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
include MFC: 1.10 2006-03-31 23:40:42 +00:00
isa MFC: 1.17 2006-06-19 20:20:24 +00:00
pci MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
sbus MFC: 1.39 2006-06-22 20:52:26 +00:00
sparc64 MFC: sys/sparc64/sparc64/machdep.c 1.129 (partial), 2006-06-07 19:08:27 +00:00