Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/dev/ic Pullup rev 1.20 (requested by bouyer in tick...
details: https://anonhg.NetBSD.org/src/rev/c9bde6a10091
branches: netbsd-2-0
changeset: 564926:c9bde6a10091
user: jmc <jmc%NetBSD.org@localhost>
date: Fri Dec 16 20:05:52 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 a2758f3527ec -r c9bde6a10091 sys/dev/ic/aic79xxvar.h
--- a/sys/dev/ic/aic79xxvar.h Fri Dec 16 20:05:48 2005 +0000
+++ b/sys/dev/ic/aic79xxvar.h Fri Dec 16 20:05:52 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