summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-25 20:38:08 +0000
committerjhb <jhb@FreeBSD.org>2000-10-25 20:38:08 +0000
commit864799b097a119892b77a3d422a81fc484eb7d75 (patch)
tree318dca5941b6c383688e793c78ebd686615dfc5c /sys
parenteec9a831189c595dd5b5c94d814978f6c8af3a9f (diff)
downloadFreeBSD-src-864799b097a119892b77a3d422a81fc484eb7d75.zip
FreeBSD-src-864799b097a119892b77a3d422a81fc484eb7d75.tar.gz
- Remove unneeded machine/ipl.h #include.
- Change the softintr() macro to do nothing on FreeBSD. Previously, this macro would set a bit in spending and schedule the softinterrupt thread to run. However, the bs driver never actually registers a a software interrupt handler, so all this work achieved nothing. From the code it is not clear what exactly the softintr() macro is actually supposed to be doing. It looks like it is supposed to be possibly running the hardware interrupt handler maybe? This handler is only present in the #ifdef __NetBSD__ code however. I have no idea how this driver handles interrupts at all, but at least it compiles now.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/bs/bsif.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/i386/isa/bs/bsif.h b/sys/i386/isa/bs/bsif.h
index ed63175..3cd8911 100644
--- a/sys/i386/isa/bs/bsif.h
+++ b/sys/i386/isa/bs/bsif.h
@@ -117,7 +117,6 @@
#include <machine/cpu.h>
#include <machine/md_var.h>
#include <machine/vmparam.h>
-#include <machine/ipl.h>
#include <machine/dvcfg.h>
#include <cam/scsi/scsi_all.h>
@@ -209,12 +208,8 @@ static BS_INLINE void memcopy __P((void *from, void *to, register size_t len));
u_int32_t bs_adapter_info __P((int));
#define delay(y) DELAY(y)
extern int dma_init_flag;
-extern volatile u_int spending;
-#define softintr(y) do { \
- atomic_set_int(&spending, 1 << y); \
- sched_softintr(); \
-} while(0);
+#define softintr(y)
static BS_INLINE void
memcopy(from, to, len)
OpenPOWER on IntegriCloud