summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdivar.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-19 08:18:40 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-19 08:18:40 +0000
commitd2fb3e6b4d34b003fb7e2146e053140c3217b39a (patch)
tree1e7bc152528eb7d8d7785f44f69a71913ca62d79 /sys/dev/usb/usbdivar.h
parent8faaaa88c31e033130b9fb704cae7379c0fe21ca (diff)
Sync with NetBSD.
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r--sys/dev/usb/usbdivar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index c8b70855038..2ccaa846f54 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: usbdivar.h,v 1.1 1999/08/13 05:28:05 fgsch Exp $ */
-/* $NetBSD: usbdivar.h,v 1.22 1999/06/30 06:44:23 augustss Exp $ */
+/* $OpenBSD: usbdivar.h,v 1.2 1999/08/19 08:18:39 fgsch Exp $ */
+/* $NetBSD: usbdivar.h,v 1.24 1999/08/17 20:59:04 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -44,7 +44,6 @@ struct usbd_pipe;
struct usbd_endpoint {
usb_endpoint_descriptor_t *edesc;
int refcnt;
- int toggle; /* XXX */
};
typedef void (*usbd_xfercb)__P((usbd_request_handle req));
@@ -53,7 +52,8 @@ struct usbd_methods {
usbd_status (*transfer)__P((usbd_request_handle reqh));
usbd_status (*start)__P((usbd_request_handle reqh));
void (*abort)__P((usbd_request_handle reqh));
- void (*close)__P((usbd_pipe_handle pipe));
+ void (*close)__P((usbd_pipe_handle pipe));
+ void (*cleartoggle)__P((usbd_pipe_handle pipe));
usbd_status (*isobuf)__P((usbd_pipe_handle pipe,
u_int32_t bufsize,u_int32_t nbuf));
};