summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/bs
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-21 05:08:25 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-21 05:08:25 +0000
commit50236db5333cdc58157e0ad9c48b24efe702d9d3 (patch)
treec85a743ad15448292b7f250fbc5f3e4352835dd7 /sys/i386/isa/bs
parent5d3c68aeda6b25c847b3ad8a14bb11a9d77328aa (diff)
downloadFreeBSD-src-50236db5333cdc58157e0ad9c48b24efe702d9d3.zip
FreeBSD-src-50236db5333cdc58157e0ad9c48b24efe702d9d3.tar.gz
Made PEND_INTS default.
Made NEW_STRATEGY default. Removed misc. old cruft. Centralized simple locks into mp_machdep.c Centralized simple lock macros into param.h More cleanup in the direction of making splxx()/cpl MP-safe.
Diffstat (limited to 'sys/i386/isa/bs')
-rw-r--r--sys/i386/isa/bs/bsif.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/i386/isa/bs/bsif.h b/sys/i386/isa/bs/bsif.h
index ac93bea..502bfe7 100644
--- a/sys/i386/isa/bs/bsif.h
+++ b/sys/i386/isa/bs/bsif.h
@@ -201,7 +201,17 @@ 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;
+#ifdef SMP
+#error XXX see comments in i386/isa/bs/bsif.h for details
+/*
+ * ipending is 'opaque' in SMP, and can't be accessed this way.
+ * Since its my belief that this is PC98 code, and that PC98 and SMP
+ * are mutually exclusive, the above compile-time error is the "fix".
+ * Please inform smp@freebsd.org if this is NOT the case.
+ */
+#else
#define softintr(y) ipending |= (y)
+#endif /* SMP */
static BS_INLINE void
memcopy(from, to, len)
OpenPOWER on IntegriCloud