diff options
author | 2009-09-23 19:59:08 +0000 | |
---|---|---|
committer | 2009-09-23 19:59:08 +0000 | |
commit | e5f9031dafca5177d4c1cb0a73d8dc86f40b9e6d (patch) | |
tree | 1af9b05c023652dedc864d809c4a0ecd863b1347 | |
parent | Attempt mapping as io as well as mmio; necessary to make this work on a V100. (diff) | |
download | wireguard-openbsd-e5f9031dafca5177d4c1cb0a73d8dc86f40b9e6d.tar.xz wireguard-openbsd-e5f9031dafca5177d4c1cb0a73d8dc86f40b9e6d.zip |
Disable SPLUSBCHECK for now, as these turn out to be harmful on sparc64.
-rw-r--r-- | sys/dev/usb/usbdi.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index f1adbcf11a5..1fcc956c560 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi.h,v 1.31 2009/08/30 19:15:40 miod Exp $ */ +/* $OpenBSD: usbdi.h,v 1.32 2009/09/23 19:59:08 miod Exp $ */ /* $NetBSD: usbdi.h,v 1.62 2002/07/11 21:14:35 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdi.h,v 1.18 1999/11/17 22:33:49 n_hibma Exp $ */ @@ -242,10 +242,18 @@ struct usb_attach_arg { /* XXX Perhaps USB should have its own levels? */ #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS #define splusb splsoftnet +#if 0 #define SPLUSBCHECK splsoftassert(IPL_SOFTNET) #else +#define SPLUSBCHECK do { /* nothing */ } while (0) +#endif +#else #define splusb splbio +#if 0 #define SPLUSBCHECK splassert(IPL_BIO) +#else +#define SPLUSBCHECK do { /* nothing */ } while (0) +#endif #endif /* __HAVE_GENERIC_SOFT_INTERRUPTS */ #define splhardusb splbio #define IPL_USB IPL_BIO |