diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-26 22:19:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-26 22:19:02 +0000 |
commit | 2a98855f6e6d38369b257c2f999103d445922b14 (patch) | |
tree | 348211fa4342d5fb5e169ceb6f1e1224f484ea81 /sys | |
parent | 16599e67ffdd97329469aa00056dc370284df77a (diff) |
Enable the USB softintr code on platforms which __HAVE_GENERIC_SOFTINTERRUPTS.
go ahead deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/usb_port.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 4323e550c9b..f14cd65d90f 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.58 2005/06/17 23:50:33 deraadt Exp $ */ +/* $OpenBSD: usb_port.h,v 1.59 2005/09/26 22:19:01 miod Exp $ */ /* $NetBSD: usb_port.h,v 1.62 2003/02/15 18:33:30 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */ @@ -205,7 +205,11 @@ int __CONCAT(dname,_detach)(struct device *self, int flags) */ #include <sys/timeout.h> +#ifdef __HAVE_GENERIC_SOFT_INTERRUPTS +#define USB_USE_SOFTINTR +#else #undef USB_USE_SOFTINTR +#endif #ifdef USB_DEBUG #define UKBD_DEBUG 1 |