summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-01-26 17:26:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-01-26 17:26:56 +0000
commite3431266b5fb897c86d2a375eb6ff2687c161636 (patch)
tree19c1bf5c43d85586074f9d3759282a48d7be2ef9
parent6e6fe102dc38f70d9ef9f6c08a587177ef131d06 (diff)
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.c3
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;