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/usb_port.h | |
parent | d0975f9b73b5bdeadb661c2c461eba0d46eea925 (diff) |
Sync with NetBSD. Mostly FreeBSD related changes.
Diffs sent to augustsson.
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r-- | sys/dev/usb/usb_port.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 56162c122ac..8b77e56d11d 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usb_port.h,v 1.2 1999/08/13 08:26:29 fgsch Exp $ */ +/* $OpenBSD: usb_port.h,v 1.3 1999/08/16 22:08:49 fgsch Exp $ */ /* $NetBSD: usb_port.h,v 1.7 1999/06/30 06:44:23 augustss Exp $ */ /* @@ -57,6 +57,8 @@ typedef struct device bdevice; /* base device */ #define usb_timeout(f, d, t, h) timeout((f), (d), (t)) #define usb_untimeout(f, d, h) untimeout((f), (d)) +#define logprintf printf + #define USB_DECLARE_DRIVER_NAME_INIT(_1, dname, _2) \ int __CONCAT(dname,_match) __P((struct device *, struct cfdata *, void *)); \ void __CONCAT(dname,_attach) __P((struct device *, struct device *, void *)); \ @@ -120,7 +122,7 @@ __CONCAT(dname,_attach)(parent, self, aux) \ * OpenBSD */ #define memcpy(d, s, l) bcopy((s),(d),(l)) -#define memset(d, v, l) bzero((d),(l)) +#define memset(d, v, l) bzero((d),(l)) #define usbpoll usbselect #define uhidpoll uhidselect |