1: /*
2: * Copyright (c) 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)autoconfig.h 1.1 (2.10BSD Berkeley) 12/1/86
7: */
8:
9: /*
10: * Possible error codes of the auto configuration program
11: */
12: #define AC_OK 0 /* Everything A-OK for system go */
13: #define AC_SETUP 1 /* Error in initializing autoconf program */
14: #define AC_SINGLE 2 /* Non serious error, come to single user */
15:
16: #define ACI_BADINTR -1 /* device interrupted through wrong vector */
17: #define ACP_EXISTS 1 /* device exists */
18: #define ACI_GOODINTR 1 /* interrupt OK */
19: #define ACP_IFINTR 0 /* device exists if interrupts OK */
20: #define ACI_NOINTR 0 /* device didn't interrupt */
21: #define ACP_NXDEV -1 /* no such device */
22:
23: #define YES 1 /* general yes */
24: #define NO 0 /* general no */
25:
26: /*
27: * Magic number to verify that autoconfig runs only once.
28: */
29: #define CONF_MAGIC 0x1960
Defined macros
AC_OK
defined in line
12; used 1 times
NO
defined in line
24; used 4 times
YES
defined in line
23; used 4 times
Usage of this include