Date: Mon, 11 Mar 2002 09:29:39 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: njh@tadpole.co.uk Cc: aic7xxx@FreeBSD.ORG Subject: Re: ahc_platform_abort_scbs() Message-ID: <200203111629.g2BGTdI12625@aslan.scsiguy.com> In-Reply-To: Your message of "Mon, 11 Mar 2002 16:20:45 GMT." <200203111620.g2BGKk004690@njh-1.tadpole.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
>On Monday 11 March 2002 4:15 pm, Justin T. Gibbs wrote: > >> I must be reading different code than you. From the 6.2.5 linux driver: > >Let me reword the issue in a different way. > >From queue.h: >#define TAILQ_FIRST(head) ((head)->tqh_first) > >#define TAILQ_REMOVE(head, elm, field) do { \ > if ((TAILQ_NEXT((elm), field)) != NULL) \ > TAILQ_NEXT((elm), field)->field.tqe_prev = \ > (elm)->field.tqe_prev; \ > else \ > (head)->tqh_last = (elm)->field.tqe_prev; \ > *(elm)->field.tqe_prev = TAILQ_NEXT((elm), field); \ (elm)->field.tqe_prev *is* the head structure's tqh_first. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203111629.g2BGTdI12625>