summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-25 19:29:17 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-25 19:29:17 +0000
commitb754a860a577c24dc444c5fb8e1952acfa7383d1 (patch)
treeccfefe163cb990633f9d7f52cf7a4c4bbbc94f45 /sys/dev/atapiscsi
parent0564ad11297b84969fca4828e1af72801b36f3cd (diff)
Change scsi_[free|get]_xs to use pool(9); art@ krw@ miod@ ok.
Diffstat (limited to 'sys/dev/atapiscsi')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index f2237d7e8a9..a1473bc9634 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.52 2001/08/18 20:37:21 deraadt Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.53 2001/08/25 19:29:16 fgsch Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -230,6 +230,9 @@ atapiscsi_attach(parent, self, aux)
printf("\n");
+ /* Initialize shared data. */
+ scsi_init();
+
#ifdef WDCDEBUG
if (chp->wdc->sc_dev.dv_cfdata->cf_flags & WDC_OPTION_PROBE_VERBOSE)
wdcdebug_atapi_mask |= DEBUG_PROBE;