cvs commit: src/sys/sparc64/sbus sbus.c
Marius Strobl
marius at FreeBSD.org
Sun Apr 17 04:32:34 PDT 2005
marius 2005-04-17 11:32:34 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sbus sbus.c
Log:
- Split the bus probe function into a bus probe and a bus attach function
with the attaching of the children done in the bus attach function like
it's supposed to be.
- In the bus probe nomatch function print the resources of the children
like it's done in the other sparc64 specific bus drivers.
- For the clock frequency IVAR use the per-child values and fall back to
the bus default in case a child doesn't have the respective property
instead of always using the bus default so a child driver doesn't need
to obtain the per-child value itself (see also the commit message of
sys/dev/esp/esp_sbus.c rev. 1.7).
- Add support for pass-through allocations. The comment preceding
sbus_alloc_resource() wasn't quite correct, we need to support pass-
through allocations for the 'espdma' and 'ledma' (pseudo-)busses which
hang off of the SBus in Ultra 1 machines. There can also be actual
bridges like the SBus-to-PCMCIA bridge on the SBus and the XBox (SBus
extension box) probably also involves one.
Revision Changes Path
1.34 +70 -57 src/sys/sparc64/sbus/sbus.c
More information about the cvs-src
mailing list