| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- Return NULL from mca_alloc_resource() instead of ENOENT if we are
passed in an empty resource list.
|
|
|
|
|
|
|
|
| |
generic resource_list management functions.
I'll deal with the EISA bits later.
Not objected to by: new-bus
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device_add_child_ordered(). 'ivars' may now be set using the
device_set_ivars() function.
This makes it easier for us to change how arbitrary data structures are
associated with a device_t. Eventually we won't be modifying device_t
to add additional pointers for ivars, softc data etc.
Despite my best efforts I've probably forgotten something so let me know
if this breaks anything. I've been running with this change for months
and its been quite involved actually isolating all the changes from
the rest of the local changes in my tree.
Reviewed by: peter, dfr
|
|
|
|
|
|
| |
first arg.
Reminded by: Andy Farkas <andyf@speednet.com.au>
|
|
|
|
|
|
|
|
| |
- Work around a problem not yet solved in the tree (but solved in mine.)
device_get_ivars() should never be cast to a struct resource_list *
The solution, under review, involves the creation of a
device_get_resource_list() function. More later.
|
|
|
|
| |
Noticed by: Peter
|
|
|
|
|
|
|
| |
implement the resource management code correctly, using approved
interfaces.
While I'm here, clean up a few things.
|
|
Should we ever find ourselves on an RS/6000 this code should work
with few changes.
|