Module Name: src Committed By: thorpej Date: Tue Jan 16 07:07:00 UTC 2024
Modified Files: src/sys/arch/hp300/dev: dio.c dma.c dmavar.h src/sys/arch/hp300/hp300: autoconf.c src/sys/arch/hp300/include: intr.h Log Message: Fix computation of the appropriate auto-vector interrupt level to use for the DMA controller by tracking all of the DIO devices that have "ISRPRI_BIO" interrupt handlers, and finding the highest auto-vector level among them and informing the DMA controller. Previously, in a post-flattening world, the DMA controller was always told to interrupt at lev5, which is fine I guess although definitely not ideal, but would not work on aaaancient HP320 Rev A DMA boards. To that effect, print a warning if a Rev B DMA board ends up at ipl != 3 (we can't differentiate between a Rev A and a Rev B board). To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/hp300/dev/dio.c cvs rdiff -u -r1.46 -r1.47 src/sys/arch/hp300/dev/dma.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/hp300/dev/dmavar.h cvs rdiff -u -r1.111 -r1.112 src/sys/arch/hp300/hp300/autoconf.c cvs rdiff -u -r1.37 -r1.38 src/sys/arch/hp300/include/intr.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.