diff options
author | joe <joe@FreeBSD.org> | 2002-04-01 21:34:01 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-01 21:34:01 +0000 |
commit | 0ddcf62ed59f8c10287786d52a41bd0772e9abdb (patch) | |
tree | ff1f5fd46d7a589f06bfe013341f1605847c95e5 /sys/dev/usb/usbdi.h | |
parent | dc2e474f79c1287592679cd5e0c4c2307feccd60 (diff) | |
download | FreeBSD-src-0ddcf62ed59f8c10287786d52a41bd0772e9abdb.zip FreeBSD-src-0ddcf62ed59f8c10287786d52a41bd0772e9abdb.tar.gz |
MFNetBSD: ohci.c (1.99), uhci.c (1.133), usb.c (1.49), usb_port.h
(1.39), usbdi.c (1.79), usbdi.h (1.47), usbdivar.h (1.62)
date: 2001/01/21 02:39:52; author: augustss;
Add code to use soft interrupt to handle USB interrupt processing.
Don't enable the code since it doesn't work with the kludgy Ethernet
drivers.
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r-- | sys/dev/usb/usbdi.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index 7998497..64f4644 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -1,4 +1,4 @@ -/* $NetBSD: usbdi.h,v 1.46 2001/01/18 20:28:23 jdolecek Exp $ */ +/* $NetBSD: usbdi.h,v 1.47 2001/01/21 02:39:53 augustss Exp $ */ /* $FreeBSD$ */ /* @@ -249,14 +249,11 @@ struct usb_attach_arg { int usbd_driver_load(module_t mod, int what, void *arg); #endif -/* - * XXX - * splusb MUST be the lowest level interrupt so that within USB callbacks - * the level can be raised the appropriate level. - * XXX Should probably use a softsplusb. - */ -/* XXX */ +/* XXX Perhaps USB should have its own levels? */ +#ifdef USB_USE_SOFTINTR +#define splusb splsoftnet +#else #define splusb splbio +#endif #define splhardusb splbio #define IPL_USB IPL_BIO -/* XXX */ |