summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-05-09 12:49:25 +0000
committerjoe <joe@FreeBSD.org>2002-05-09 12:49:25 +0000
commitb13fc200b7986ef37909fe28022d498ea77d9b4d (patch)
treeb67bcde865ceecc0187667c0559b08b541791e91 /sys
parent36c976074ebd00defe149d424c3a2ebc63ae20fc (diff)
downloadFreeBSD-src-b13fc200b7986ef37909fe28022d498ea77d9b4d.zip
FreeBSD-src-b13fc200b7986ef37909fe28022d498ea77d9b4d.tar.gz
MFNetBSD:
revision 1.43 date: 2001/04/12 01:39:04; author: thorpej; state: Exp; lines: +2 -2 Switch to USB_USE_SOFTINTR. The callout hack does indeed work fine for systems without generic soft interrupts, even if it is a little sub-optimal. Consider it a penalty for ports not implementing a kernel API. Addresses kern/11957. The PR has been open for 4 months, and I have work blocked on the continued existence of splimp() in the networking code. The NetBSD patch only switches it on for NetBSD, but I've also switched it on for FreeBSD in this commit.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usb_port.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 5e814d4..aff9730 100644
--- a/sys/dev/usb/usb_port.h
+++ b/sys/dev/usb/usb_port.h
@@ -52,7 +52,7 @@
#include "opt_usbverbose.h"
-/*#define USB_USE_SOFTINTR */
+#define USB_USE_SOFTINTR
#ifdef USB_DEBUG
#define UHID_DEBUG 1
@@ -300,6 +300,8 @@ MALLOC_DECLARE(M_USBHC);
#define USBVERBOSE
+#define USB_USE_SOFTINTR
+
#define Static static
#define device_ptr_t device_t
OpenPOWER on IntegriCloud