Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 11/28/2005 21:03:20
Module Name:	src
Committed By:	bouyer
Date:		Mon Nov 28 21:03:20 UTC 2005

Modified Files:
	src/sys/dev/ic: aic79xx.c aic79xx_osm.c aic79xxvar.h aic7xxx.c
	    aic7xxx_inline.h aic7xxx_osm.c aic7xxxvar.h

Log Message:
Don't call alloc_scb() (which can call bus_dmamem_alloc/map) from
ADAPTER_REQ_RUN_XFER context (which can be interrupt context), defer this
to the ADAPTER_REQ_GROW_RESOURCES callback.
Fix a panic in uvm reported by John R. Shannon on port-xen; patch tested on
ahc by me and on ahd by John.


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/sys/dev/ic/aic79xx.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/ic/aic79xx_osm.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/ic/aic79xxvar.h
cvs rdiff -r1.116 -r1.117 src/sys/dev/ic/aic7xxx.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/ic/aic7xxx_inline.h
cvs rdiff -r1.18 -r1.19 src/sys/dev/ic/aic7xxx_osm.c
cvs rdiff -r1.49 -r1.50 src/sys/dev/ic/aic7xxxvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.