summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/isapnp.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
committerpeter <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
commitd53e4c1d809338e9b317d95bdded2f7f7a986556 (patch)
tree916004bdaa3cf47d2a92effe8c981e7d1ff5ccec /sys/boot/common/isapnp.h
parent15b9bcb121e1f3735a2c98a11afdb52a03301d7e (diff)
downloadFreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.zip
FreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.tar.gz
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
Diffstat (limited to 'sys/boot/common/isapnp.h')
-rw-r--r--sys/boot/common/isapnp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/common/isapnp.h b/sys/boot/common/isapnp.h
index 3ebd66a..053ec0a 100644
--- a/sys/boot/common/isapnp.h
+++ b/sys/boot/common/isapnp.h
@@ -44,7 +44,7 @@
#define MAX_PNP_LDN 20
/* Static ports to access PnP state machine */
-#ifndef KERNEL
+#ifndef _KERNEL
#ifdef PC98
/* pnp.h is included from pnpinfo.c. */
#define _PNP_ADDRESS 0x259
@@ -267,7 +267,7 @@ struct pnp_cinfo {
} mem[4];
};
-#ifdef KERNEL
+#ifdef _KERNEL
struct pnp_device {
char *pd_name;
@@ -310,6 +310,6 @@ int enable_pnp_card(void);
*/
void pnp_configure __P((void));
-#endif /* KERNEL */
+#endif /* _KERNEL */
#endif /* !_I386_ISA_PNP_H_ */
OpenPOWER on IntegriCloud