cvs commit: src/sys/sparc64/ebus ebus.c src/sys/sparc64/isa
ofw_isa.c ofw_isa.h src/sys/sparc64/sparc64 ofw_machdep.c
Thomas Moestl
tmm at FreeBSD.org
Wed Apr 28 06:06:47 PDT 2004
tmm 2004/04/28 06:06:46 PDT
FreeBSD src repository
Modified files:
sys/sparc64/ebus ebus.c
sys/sparc64/isa ofw_isa.c ofw_isa.h
sys/sparc64/sparc64 ofw_machdep.c
Log:
Fix the EBus driver to work with the new PCI code. Unlike other PCI
bridges, the EBus bridge has resource ranges it claims exclusively to
map its children into in its BARs. Hence, we need to allocate these
completely and manage them for the children, instead of just passing
allocations through to the PCI layer as we did before.
While being there, split ebus_probe(), which did also contain code
normally belonging into the attach method, into ebus_probe() and
ebus_attach(), and perform some minor cleanups.
Revision Changes Path
1.13 +171 -91 src/sys/sparc64/ebus/ebus.c
1.7 +26 -18 src/sys/sparc64/isa/ofw_isa.c
1.3 +4 -1 src/sys/sparc64/isa/ofw_isa.h
1.8 +2 -2 src/sys/sparc64/sparc64/ofw_machdep.c
More information about the cvs-src
mailing list