The bus_get_resource_list DEVMETHOD is primarily used to by PCI devices
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 5 May 2007 16:52:55 +0000 (16:52 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 5 May 2007 16:52:55 +0000 (16:52 +0000)
commit04ddb925d10d635b066301b2dee22ca8b590761a
treed988ab02335a12bbe38a78e5e3686b8fb7501346
parent446d071031f9197e49dc9abfebab64abd61655b3
The bus_get_resource_list DEVMETHOD is primarily used to by PCI devices
to get a list of resources from their parent bus device.  The default
method should not just recurse up a randomly or a child might get
something really unexpected.  Instead, if the method is not supported,
NULL should be returned.

Obtained-from: FreeBSD
Suggestd-by: Martin <dragonfly@wommm.nl>
sys/kern/subr_bus.c