NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/11018 (VIA VT83C572 UHCI USB controller does not work)
On 02/15/17 13:00, Izumi Tsutsui wrote:
The following reply was made to PR kern/11018; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: skrll%netbsd.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/11018 (VIA VT83C572 UHCI USB controller does not work)
Date: Wed, 15 Feb 2017 21:54:51 +0900
> Does this patch help?
Still gets "uhub0: device problem, disabling port 1"
I gets further though. Maybe this patch helps more/as well.
I'd be interested in results from both this patch alone and combined
with first one.
Nick
Index: sys/dev/usb/uhci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uhci.c,v
retrieving revision 1.274
diff -u -p -r1.274 uhci.c
--- sys/dev/usb/uhci.c 4 Dec 2016 10:12:35 -0000 1.274
+++ sys/dev/usb/uhci.c 16 Feb 2017 21:25:18 -0000
@@ -2075,7 +2075,7 @@ uhci_reset_std_chain(uhci_softc_t *sc, s
status = UHCI_TD_ZERO_ACTLEN(UHCI_TD_SET_ERRCNT(3) | UHCI_TD_ACTIVE);
if (pipe->up_dev->ud_speed == USB_SPEED_LOW)
status |= UHCI_TD_LS;
- if (flags & USBD_SHORT_XFER_OK)
+// if (flags & USBD_SHORT_XFER_OK)
status |= UHCI_TD_SPD;
usb_syncmem(dma, 0, len,
isread ? BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE);
Home |
Main Index |
Thread Index |
Old Index