NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: motg
netbsd-bugs is just for the GNATS traffic, please use current-users@
instead (cc'ed).
Thanks,
Thomas
On Sun, Jun 05, 2016 at 01:56:46PM +0300, Artturi Alm wrote:
> Hi,
>
> copypaste bug?
>
> -Artturi
>
> --- motg.c Sun Jun 5 13:35:13 2016
> +++ motg.c Sun Jun 5 13:39:51 2016
> @@ -1230,10 +1230,10 @@ motg_setup_endpoint_rx(struct usbd_xfer *xfer)
> );
> if (epnumber == 0) {
> if (sc->sc_high_speed) {
> - UWRITE1(sc, MUSB2_REG_TXNAKLIMIT,
> + UWRITE1(sc, MUSB2_REG_RXNAKLIMIT,
> NAK_TO_CTRL_HIGH);
> } else {
> - UWRITE1(sc, MUSB2_REG_TXNAKLIMIT, NAK_TO_CTRL);
> + UWRITE1(sc, MUSB2_REG_RXNAKLIMIT, NAK_TO_CTRL);
> }
> } else {
> if ((xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes & UE_XFERTYPE)
>
Home |
Main Index |
Thread Index |
Old Index