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.
This commit is contained in:
parent
1063e12617
commit
4722fea82e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user