aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1996-03-19 04:49:13 +0000
committerNate Williams <nate@FreeBSD.org>1996-03-19 04:49:13 +0000
commitf440f5788c89949b71cf2ead051b2b5475660e16 (patch)
tree30485098fe75c960fabb33516cebd2156f2afda5 /sys
parent8371872e22390c27d814f7971f9e4d5c672da128 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/apm/apm.c6
-rw-r--r--sys/i386/bios/apm.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c
index 2f7b9a05000e..081a1ade8c58 100644
--- a/sys/i386/apm/apm.c
+++ b/sys/i386/apm/apm.c
@@ -13,11 +13,15 @@
*
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
- * $Id: apm.c,v 1.32 1996/03/18 23:30:14 nate Exp $
+ * $Id: apm.c,v 1.33 1996/03/19 04:39:53 nate Exp $
*/
#include "apm.h"
+#if NAPM > 1
+#error only one APM device may be configured
+#endif
+
#include <sys/param.h>
#include <sys/conf.h>
#include <sys/kernel.h>
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index 2f7b9a05000e..081a1ade8c58 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -13,11 +13,15 @@
*
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
- * $Id: apm.c,v 1.32 1996/03/18 23:30:14 nate Exp $
+ * $Id: apm.c,v 1.33 1996/03/19 04:39:53 nate Exp $
*/
#include "apm.h"
+#if NAPM > 1
+#error only one APM device may be configured
+#endif
+
#include <sys/param.h>
#include <sys/conf.h>
#include <sys/kernel.h>