diff options
author | Nate Williams <nate@FreeBSD.org> | 1996-03-19 04:49:13 +0000 |
---|---|---|
committer | Nate Williams <nate@FreeBSD.org> | 1996-03-19 04:49:13 +0000 |
commit | f440f5788c89949b71cf2ead051b2b5475660e16 (patch) | |
tree | 30485098fe75c960fabb33516cebd2156f2afda5 /sys/i386/bios | |
parent | 8371872e22390c27d814f7971f9e4d5c672da128 (diff) | |
download | src-f440f5788c89949b71cf2ead051b2b5475660e16.tar.gz src-f440f5788c89949b71cf2ead051b2b5475660e16.zip |
Added kernel compile time failure if more than one APM device is
configured.
Notes
Notes:
svn path=/head/; revision=14692
Diffstat (limited to 'sys/i386/bios')
-rw-r--r-- | sys/i386/bios/apm.c | 6 |
1 files changed, 5 insertions, 1 deletions
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> |