Add a missing bufq_init call. The original code never initialized it's
buffer queue so I missed this when I changed buf_queue_head. This probably fixes Soren's problem too, but he never mentioned which CD driver he was using. 8-) Submitted by: dave adkins <adkin003@tc.umn.edu>
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user