Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 11:38:45 +0100
From:      irchat@free.fr
To:        Ian Dowse <iedowse@maths.tcd.ie>, freebsd-usb@freebsd.org
Subject:   Re: Prism54 USB Wireless Adapters
Message-ID:  <1106476725.41f37eb55726f@imp3-q.free.fr>

next in thread | raw e-mail | index | archive | help
> The only thing unusual I  could see about the Prism54 driver
> is that it does a lot of opening and closing of pipes

Yeah, Prism54 devices are actually a pain :(

> so maybe something like that is tickling EHCI bugs.

> >Testing my driver with or without USBD_NO_COPY and the EHCI makes the
> > interrupt callback never called. With UHCI and without USBD_NO_COPY, my
> > code fails when the xfers using the buffers that don't support DMA are
> > submitted.
>
> Are you saying that something doesn't work with UHCI too? If you
> avoid the USBD_NO_COPY flag you shouldn't have to worry about DMA
> buffers, since the USB code will handle them itself. Or do you mean
> something different?

No, I meant that UHCI worked fine as it reports the error if I try to use
non-DMA-capable buffers with DMA, unlike EHCI which doesn't report anything
wrong and behaves improperly then.

I have worked a lot on the driver lately, see
http://yoshiyo.ath.cx/seb/prism54_freebsd.html
The DMA problems are fixed, I now use usbd_alloc_buffer().
Sebastien



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1106476725.41f37eb55726f>