freebsd-src/sys/sparc64
Marius Strobl 42be1191a0 - When iterating over the register resources of the children don't use
the iteration variable as the RID when adding the respective resource
  to the child via bus_set_resource(). In case a device has both I/O
  and memory resources this generates gaps in the newbus resources of
  the child, e.g. its first memory resource might end up as RID 1.
  To solve this mimic resource_list_add_next() via resource_list_find()
  and bus_set_resource(); we can't just use resource_list_add_next()
  here as this would circumvent the limit checks in isa_set_resource()
  of the common ISA code.
  This however is more or less a theoretical problem so far as all known
  ISA devices on sparc64 soley use I/O space.
- Just use bus_generic_rl_release_resource() for isa_release_resource()
  instead of re-implementing the former.
- Improve some comments to better reflect reality, minor clean-up and
  simplifications, return NULL instead of 0 were appropriate.
2005-05-19 15:47:37 +00:00
..
central - Add suport for the bus_get_resource() device interface method to 2005-05-19 15:09:56 +00:00
compile
conf Add USB Communication Device Class Ethernet driver. Originally written for 2005-03-22 14:52:40 +00:00
creator - Add missing <sys/module.h>. [1] 2004-07-09 23:12:22 +00:00
ebus Don't panic when we're asked to allocate a resource type that we know 2005-01-09 18:58:08 +00:00
fhc - Add suport for the bus_get_resource() device interface method to 2005-05-19 15:09:56 +00:00
include Add empty header (except of the multiple-inclusion protection) to 2005-04-20 18:44:53 +00:00
isa - When iterating over the register resources of the children don't use 2005-05-19 15:47:37 +00:00
pci Slightly reformat apb_alloc_resource() to create some horizontal space 2005-04-28 03:33:46 +00:00
sbus - Try to not leak resources in the attach functions of the esp(4) SBus 2005-05-19 14:51:10 +00:00
sparc64 Change cpu_set_kse_upcall to more generic style, so we can reuse it 2005-04-23 02:32:32 +00:00