diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 1999-08-16 22:08:50 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 1999-08-16 22:08:50 +0000 |
commit | d91d986d9cd78adbf8a71dcbaaca39948318f45a (patch) | |
tree | e3673610b81ca09c0f766c1b0f8f14f5b10f8f93 /sys/dev/usb/usbdi.c | |
parent | d0975f9b73b5bdeadb661c2c461eba0d46eea925 (diff) |
Sync with NetBSD. Mostly FreeBSD related changes.
Diffs sent to augustsson.
Diffstat (limited to 'sys/dev/usb/usbdi.c')
-rw-r--r-- | sys/dev/usb/usbdi.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index 0d5c93c2985..bdaeaca129a 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi.c,v 1.1 1999/08/13 05:28:05 fgsch Exp $ */ +/* $OpenBSD: usbdi.c,v 1.2 1999/08/16 22:08:49 fgsch Exp $ */ /* $NetBSD: usbdi.c,v 1.26 1999/07/06 07:12:03 augustss Exp $ */ /* @@ -62,8 +62,8 @@ #endif #ifdef USB_DEBUG -#define DPRINTF(x) if (usbdebug) printf x -#define DPRINTFN(n,x) if (usbdebug>(n)) printf x +#define DPRINTF(x) if (usbdebug) logprintf x +#define DPRINTFN(n,x) if (usbdebug>(n)) logprintf x extern int usbdebug; #else #define DPRINTF(x) @@ -159,7 +159,7 @@ usbd_open_pipe_intr(iface, address, flags, pipe, priv, buffer, length, cb) } usbd_status -usbd_open_pipe_iso(iface, address, flags, pipe, priv, bufsize, nbuf, cb) +usbd_open_pipe_iso(iface, address, flags, pipe, priv, bufsize, nbuf) usbd_interface_handle iface; u_int8_t address; u_int8_t flags; @@ -167,7 +167,6 @@ usbd_open_pipe_iso(iface, address, flags, pipe, priv, bufsize, nbuf, cb) usbd_private_handle priv; u_int32_t bufsize; u_int32_t nbuf; - usbd_callback cb; { usbd_status r; usbd_pipe_handle p; |