diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-04-02 10:53:42 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-04-02 10:53:42 +0000 |
| commit | 548db09f32f720417c9e9ab89dd450f75b240b5f (patch) | |
| tree | ce546b2524e75cc1b61d963435e25982da231dc2 | |
| parent | a64f21ce5d4a770f128895bb00f7aef3ec30dcc0 (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb/usbdi.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index 9d718a9810b3..a1cbf330d89c 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -1,4 +1,4 @@ -/* $NetBSD: usbdi.h,v 1.49 2001/01/23 17:04:30 augustss Exp $ */ +/* $NetBSD: usbdi.h,v 1.50 2001/04/12 01:18:24 thorpej Exp $ */ /* $FreeBSD$ */ /* @@ -268,9 +268,13 @@ int usbd_driver_load(module_t mod, int what, void *arg); /* XXX Perhaps USB should have its own levels? */ #ifdef USB_USE_SOFTINTR +#ifdef __HAVE_GENERIC_SOFT_INTERRUPTS #define splusb splsoftnet #else +#define splusb splsoftclock +#endif /* __HAVE_GENERIC_SOFT_INTERRUPTS */ +#else #define splusb splbio -#endif +#endif /* USB_USE_SOFTINTR */ #define splhardusb splbio #define IPL_USB IPL_BIO |
