summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci.c
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-05-28 18:51:30 +0000
committerhselasky <hselasky@FreeBSD.org>2013-05-28 18:51:30 +0000
commit3d6f59397cf8ef71ef502c8367d7ea4206264f3a (patch)
tree70717ebc957552f68e27ab3207f5e92bde33956c /sys/dev/usb/controller/uhci.c
parent9e2cb0c5b73a1978d727e2e6499f5175e07184f9 (diff)
downloadFreeBSD-src-3d6f59397cf8ef71ef502c8367d7ea4206264f3a.zip
FreeBSD-src-3d6f59397cf8ef71ef502c8367d7ea4206264f3a.tar.gz
Revert r251023 until a more proper solution is found
for ATI based USB controllers. MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/controller/uhci.c')
-rw-r--r--sys/dev/usb/controller/uhci.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c
index 49ce4e1..fe3cf93 100644
--- a/sys/dev/usb/controller/uhci.c
+++ b/sys/dev/usb/controller/uhci.c
@@ -2138,7 +2138,6 @@ uhci_device_isoc_enter(struct usb_xfer *xfer)
uint32_t nframes;
uint32_t temp;
uint32_t *plen;
- uint8_t first = 1;
#ifdef USB_DEBUG
uint8_t once = 1;
@@ -2254,18 +2253,6 @@ uhci_device_isoc_enter(struct usb_xfer *xfer)
UHCI_TD_ACTIVE |
UHCI_TD_IOS |
UHCI_TD_IOC));
- } else if (first != 0) {
- /*
- * Workaround for lost or too early completion
- * interrupt:
- */
- first = 0;
- td->td_status = htole32
- (UHCI_TD_ZERO_ACTLEN
- (UHCI_TD_SET_ERRCNT(0) |
- UHCI_TD_ACTIVE |
- UHCI_TD_IOS |
- UHCI_TD_IOC));
} else {
td->td_status = htole32
(UHCI_TD_ZERO_ACTLEN
OpenPOWER on IntegriCloud