From 00f332f07d139e30aa328b7fdc84b1c36b14cfad Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 23 Sep 2009 19:59:09 +0000 Subject: Disable SPLUSBCHECK for now, as these turn out to be harmful on sparc64. --- sys/dev/usb/usbdi.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys') 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 -- cgit v1.2.3