Subject: Re: Device driver implementation question
To: None <cgd@CS.cmu.edu, mike.long@analog.com>
From: Chris Torek <torek@BSDI.COM>
List: tech-kern
Date: 01/18/1997 05:29:41
> do { ...
> tryagain = (child cf_fstat == FSTATE_STAR);
>... } while (attached);
Presumably this last should be `while (tryagain)'. This is
essentially what we do in BSD/OS for *'ed PCI (and EISA?) devices.
The isaprobe code is the best place for it, because you know that
you just now matched a *'ed entry, and that *'ed entries are there
to match more than once; and because, this way, there is only one
copy of the `try again' code.
Chris