diff options
author | 2014-01-26 17:26:55 +0000 | |
---|---|---|
committer | 2014-01-26 17:26:55 +0000 | |
commit | 08a9fcbddfd8a51f6dc6651ea9780a05bd45e21b (patch) | |
tree | 689da0a01cd909f5995519d3125c9922e744e7dc | |
parent | Remove unnecessary <machine/pte.h> dependency. (diff) | |
download | wireguard-openbsd-08a9fcbddfd8a51f6dc6651ea9780a05bd45e21b.tar.xz wireguard-openbsd-08a9fcbddfd8a51f6dc6651ea9780a05bd45e21b.zip |
Quoting an old commit message:
``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/dev/ic/ncr53c9x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index 4f672b4ba32..a4785eb0634 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.56 2014/01/18 23:09:04 dlg Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.57 2014/01/26 17:26:55 miod Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -275,6 +275,7 @@ ncr53c9x_attach(sc) sc->sc_link.adapter = &ncr53c9x_adapter; sc->sc_link.openings = 2; sc->sc_link.adapter_buswidth = sc->sc_ntarg; + sc->sc_link.pool = &ecb_iopool; bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; |