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