Added kernel compile time failure if more than one APM device is
configured.
This commit is contained in:
parent
8371872e22
commit
f440f5788c
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user