Added kernel compile time failure if more than one APM device is

configured.
This commit is contained in:
Nate Williams 1996-03-19 04:49:13 +00:00
parent 8371872e22
commit f440f5788c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14692
2 changed files with 10 additions and 2 deletions

View File

@ -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>

View File

@ -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>