View | Details | Raw Unified | Return to bug 13468
Collapse All | Expand All

(-)atapi.c (-2 / +1 lines)
Lines 507-517 Link Here
507
507
508
static void atapi_free (struct atapi *ata, struct atapicmd *ac)
508
static void atapi_free (struct atapi *ata, struct atapicmd *ac)
509
{
509
{
510
	if (! ata->free)
511
		wakeup ((caddr_t)&ata);
512
	ac->busy = 0;
510
	ac->busy = 0;
513
	ac->next = ata->free;
511
	ac->next = ata->free;
514
	ata->free = ac;
512
	ata->free = ac;
513
	wakeup ((caddr_t)ata);
515
}
514
}
516
515
517
/*
516
/*

Return to bug 13468