summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ehci.c')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 1a989d0dfc1..19ed8f70ec8 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.75 2007/06/14 06:55:09 mbalmer Exp $ */
+/* $OpenBSD: ehci.c,v 1.76 2007/06/14 12:58:09 mbalmer Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -102,6 +102,8 @@ int ehcidebug = 0;
#define DPRINTFN(n,x)
#endif
+#define mstohz(ms) ((ms) * hz / 1000)
+
struct ehci_pipe {
struct usbd_pipe pipe;