diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-25 12:40:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-25 12:40:53 +0000 |
commit | 96e09174ace56b3b2c31352e2c892e3def355f0b (patch) | |
tree | f8f197274d21eef69402c0cebaba743525d02962 /sys/arch/hp300 | |
parent | 47ec82c1164cd62425405898ca2c424fe8ec6cb7 (diff) |
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).
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/dev/mb89352.c | 3 |
1 files changed, 2 insertions, 1 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; |