summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/isa/wcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/isa/wcd.c b/sys/i386/isa/wcd.c
index 8af88a6..72b7aa3 100644
--- a/sys/i386/isa/wcd.c
+++ b/sys/i386/isa/wcd.c
@@ -286,6 +286,7 @@ wcdattach (struct atapi *ata, int unit, struct atapi_params *ap, int debug)
}
wcdtab[wcdnlun] = t;
bzero (t, sizeof (struct wcd));
+ bufq_init(&t->buf_queue);
t->ata = ata;
t->unit = unit;
lun = t->lun = wcdnlun++;
OpenPOWER on IntegriCloud