cvs commit: src/sys/dev/scc scc_bfe.h scc_bfe_ebus.c
scc_bfe_macio.c scc_bfe_quicc.c scc_bfe_sbus.c scc_core.c
Marcel Moolenaar
marcel at FreeBSD.org
Sat Apr 26 18:41:00 UTC 2008
marcel 2008-04-26 18:41:00 UTC
FreeBSD src repository
Modified files:
sys/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_macio.c
scc_bfe_quicc.c scc_bfe_sbus.c scc_core.c
Log:
With rev 1.24 of sys/powerpc/powermac/macio.c, we now get a
total of 6 interrupt resources for scc(4) on macio(4). This
is 3 per channel, of which the 1st of each channel is the
interrupt associated with the SCC. The other 2 are for DMA
operation.
Change scc_bfe_attach() to accept an argument that's the
number of interrupts per channel (ipc) and change each bus
front-end (bfe) to pass that argument through a wrapper
for the device_attach method.
For now, we only allocate the 1st interrupt of each channel
to perserve behaviour.
Revision Changes Path
1.8 +1 -1 src/sys/dev/scc/scc_bfe.h
1.4 +8 -1 src/sys/dev/scc/scc_bfe_ebus.c
1.3 +8 -1 src/sys/dev/scc/scc_bfe_macio.c
1.2 +8 -1 src/sys/dev/scc/scc_bfe_quicc.c
1.6 +8 -1 src/sys/dev/scc/scc_bfe_sbus.c
1.11 +11 -2 src/sys/dev/scc/scc_core.c
More information about the cvs-src
mailing list