Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2]: src/sys/dev/ic Pullup rev 1.20 (requested by bouyer in ticket...
details: https://anonhg.NetBSD.org/src/rev/5fa1ded32073
branches: netbsd-2
changeset: 564393:5fa1ded32073
user: jmc <jmc%NetBSD.org@localhost>
date: Fri Dec 16 20:11:44 2005 +0000
description:
Pullup rev 1.20 (requested by bouyer in ticket #10177)
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. Fixes a panic in uvm.
diffstat:
sys/dev/ic/aic79xxvar.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 193241dbe1b4 -r 5fa1ded32073 sys/dev/ic/aic79xxvar.h
--- a/sys/dev/ic/aic79xxvar.h Fri Dec 16 20:11:40 2005 +0000
+++ b/sys/dev/ic/aic79xxvar.h Fri Dec 16 20:11:44 2005 +0000
@@ -1389,7 +1389,7 @@
void ahd_set_name(struct ahd_softc *, char *);
struct scb *ahd_get_scb(struct ahd_softc *, u_int);
void ahd_free_scb(struct ahd_softc *, struct scb *);
-void ahd_alloc_scbs(struct ahd_softc *);
+int ahd_alloc_scbs(struct ahd_softc *);
void ahd_free(struct ahd_softc *);
int ahd_reset(struct ahd_softc *, int);
void ahd_shutdown(void *);
Home |
Main Index |
Thread Index |
Old Index