Date: Sat, 26 Apr 2008 18:41:00 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200804261841.m3QIf03k052701@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804261841.m3QIf03k052701>