diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-07 19:41:11 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-07 19:41:11 +0000 |
commit | 2d149b09c57b22367f7e05e3efaf23f0cb328621 (patch) | |
tree | c74029825164c1a63bb75e5f673438c24b743f22 /sys/compat | |
parent | 919e3cbf2805715b8fefeab48237aaec49b8b9e9 (diff) | |
download | FreeBSD-src-2d149b09c57b22367f7e05e3efaf23f0cb328621.zip FreeBSD-src-2d149b09c57b22367f7e05e3efaf23f0cb328621.tar.gz |
Rename usb pipes to endpoints as it better represents what they are, and struct
usb_pipe may be used for a different purpose later on.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ndis/subr_usbd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ndis/subr_usbd.c b/sys/compat/ndis/subr_usbd.c index e3ffadc..a9d4376 100644 --- a/sys/compat/ndis/subr_usbd.c +++ b/sys/compat/ndis/subr_usbd.c @@ -520,7 +520,7 @@ usbd_func_selconf(ip) int i, j; struct ndis_softc *sc = device_get_softc(dev); struct usb_device *udev = sc->ndisusb_dev; - struct usb_pipe *p = NULL; + struct usb_endpoint *ep = NULL; struct usbd_interface_information *intf; struct usbd_pipe_information *pipe; struct usbd_urb_select_configuration *selconf; @@ -549,14 +549,14 @@ usbd_func_selconf(ip) return usbd_usb2urb(ret); } - for (j = 0; (p = usb2_pipe_foreach(udev, p)); j++) { + for (j = 0; (ep = usb2_endpoint_foreach(udev, ep)); j++) { if (j >= intf->uii_numeps) { device_printf(dev, "endpoint %d and above are ignored", intf->uii_numeps); break; } - edesc = p->edesc; + edesc = ep->edesc; pipe = &intf->uii_pipes[j]; pipe->upi_handle = edesc; pipe->upi_epaddr = edesc->bEndpointAddress; |