fwochi.c and bus_space_barrier()
Sean Bruno
sean.bruno at dsl-only.net
Wed Apr 15 09:53:36 PDT 2009
> >>
> >
> > This looks basically good, but as outlined earlier a driver
> > souldn't busy-wait 50ms. Could one of you please test whether
> > pause("fwlps", (50 * hz + 999) / 1000) works as a drop-in
> > replacement for DELAY(50000) here?
>
> Works fine here!
>
> Thanks!
> Andreas
>
>
>
Ok, time for more testing. A couple of changes here.
1. change busy DELAY() call with pause()
2. test for lps condition before pause(), if not set pause and retry.
Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fwohci.c.diff
Type: text/x-patch
Size: 3414 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-firewire/attachments/20090415/b3e10e54/fwohci.c.bin
More information about the freebsd-firewire
mailing list