diff options
author | 2011-04-25 12:40:52 +0000 | |
---|---|---|
committer | 2011-04-25 12:40:52 +0000 | |
commit | dd27b96f2b5bac459e635c62b4640618b3146df7 (patch) | |
tree | ecfc60a8a8f3615d3616609c5ba407315a69b48a | |
parent | allow commands like "route add 0.0.0.0/1 $SOMEHOST" to work correctly, (diff) | |
download | wireguard-openbsd-dd27b96f2b5bac459e635c62b4640618b3146df7.tar.xz wireguard-openbsd-dd27b96f2b5bac459e635c62b4640618b3146df7.zip |
Callers of scsi_iopool_init() ought to set up the pool member in struct
scsi_link accordingly, for bad things will happen without (and this was a
real pita to debug).
-rw-r--r-- | sys/arch/hp300/dev/mb89352.c | 3 | ||||
-rw-r--r-- | sys/dev/i2o/ioprbs.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c index 92cf04344ad..a2f2884696a 100644 --- a/sys/arch/hp300/dev/mb89352.c +++ b/sys/arch/hp300/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.26 2011/04/02 17:44:43 krw Exp $ */ +/* $OpenBSD: mb89352.c,v 1.27 2011/04/25 12:40:52 miod Exp $ */ /* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ @@ -207,6 +207,7 @@ spc_attach(struct spc_softc *sc) sc->sc_link.adapter_target = sc->sc_initiator; sc->sc_link.adapter = &spc_switch; sc->sc_link.openings = 2; + sc->sc_link.pool = &sc->sc_iopool; bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; diff --git a/sys/dev/i2o/ioprbs.c b/sys/dev/i2o/ioprbs.c index b7d3a8de538..e81a96ac748 100644 --- a/sys/dev/i2o/ioprbs.c +++ b/sys/dev/i2o/ioprbs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioprbs.c,v 1.28 2011/04/03 17:58:31 dlg Exp $ */ +/* $OpenBSD: ioprbs.c,v 1.29 2011/04/25 12:40:52 miod Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -346,6 +346,7 @@ ioprbs_attach(struct device *parent, struct device *self, void *aux) sc->sc_link.openings = 1; sc->sc_link.adapter_buswidth = 1; sc->sc_link.adapter_target = 1; + sc->sc_link.pool = &sc->sc_iopool; bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; |