diff options
author | gonzo <gonzo@FreeBSD.org> | 2011-12-31 05:45:10 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2011-12-31 05:45:10 +0000 |
commit | b7d764bce757d21a3b1a13fde0c7aad1c902bd9a (patch) | |
tree | 85d44a81957ae2b3e55e4c036953399eaceef978 | |
parent | 9f57ade3160b1776510a76962b817b76d21a222f (diff) | |
download | FreeBSD-src-b7d764bce757d21a3b1a13fde0c7aad1c902bd9a.zip FreeBSD-src-b7d764bce757d21a3b1a13fde0c7aad1c902bd9a.tar.gz |
- Pass proper endpoint number (without direction flag) to
cvmx_usb_open_pipe
-rw-r--r-- | sys/mips/cavium/usb/octusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/cavium/usb/octusb.c b/sys/mips/cavium/usb/octusb.c index 9d6884b..8964ac9 100644 --- a/sys/mips/cavium/usb/octusb.c +++ b/sys/mips/cavium/usb/octusb.c @@ -162,7 +162,7 @@ octusb_host_alloc_endpoint(struct octusb_td *td) &sc->sc_port[td->qh->port_index].state, 0, td->qh->dev_addr, - td->qh->ep_num, + td->qh->ep_num & UE_ADDR, octusb_convert_speed(td->qh->dev_speed), td->qh->max_packet_size, octusb_convert_ep_type(td->qh->ep_type), |