tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting umb(4) from OpenBSD



On 3 May 2018 at 03:48, Taylor R Campbell
<campbell+netbsd-tech-net%mumble.net@localhost> wrote:
>
> > Date: Thu, 3 May 2018 04:29:18 +0200
> > From: Pierre Pronchery <khorben%defora.org@localhost>
> >
> > On 02/05/2018 14:59, Taylor R Campbell wrote:
> > > First thing that jumps out at me is that our usb_task is still broken.
> > > Ugh!  We need to fix that, but it likely requires a kernel API change,
> > > so maybe it's too late for netbsd-8 at this point.
> >
> > Is there something I should know? ie any workaround I should apply, or
> > unexpected behaviour I should keep in mind?
>
> We don't _have_ usb_wait_task.  There's no workaround.  We need to
> rewrite usb_task so it works, but it requires an API change to add
> usb_wait_task, and possibly an ABI change to struct usb_task unless we
> can shoehorn the necessary state into it.

Would it make sense to get the API change in now and pushed for
netbsd-8 (even if it doesn't (yet) work), so a later pullup would be
possible?


Home | Main Index | Thread Index | Old Index