ahc_alloc

Justin T. Gibbs gibbs at scsiguy.com
Mon Mar 11 07:50:18 PST 2002


>Shouldn't this loop in ahc_alloc()
>
>	for (i = 0; i < 16; i++)
>		TAILQ_INIT(&ahc->untagged_queues[i]);
>
>be
>
>	for (i =0; i < AHC_NUM_TARGETS; i++)
>		TAILQ_INIT(&ahc->untagged_queues[i]);

They are equivalent, but yes.  I believe the majority of the
code already uses the constant.

--
Justin

To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list