summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cronyx.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
committerpeter <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
commit15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch)
treee999c95eb5db56737efc17feeb385a77941021bb /sys/i386/include/cronyx.h
parent9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff)
downloadFreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.zip
FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.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/i386/include/cronyx.h')
-rw-r--r--sys/i386/include/cronyx.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/include/cronyx.h b/sys/i386/include/cronyx.h
index cdd4047..412f1e0 100644
--- a/sys/i386/include/cronyx.h
+++ b/sys/i386/include/cronyx.h
@@ -12,6 +12,8 @@
* all derivative works or modified versions.
*
* Version 1.9, Wed Oct 4 18:58:15 MSK 1995
+ *
+ * $FreeBSD$
*/
/*
* Asynchronous channel mode -------------------------------------------------
@@ -409,7 +411,7 @@ typedef struct _chan_t {
unsigned long btphys; /* transmitter B phys address */
unsigned char dtr; /* DTR signal value */
unsigned char rts; /* RTS signal value */
-#ifdef KERNEL
+#ifdef _KERNEL
struct tty *ttyp; /* tty structure pointer */
struct ifnet *ifp; /* network interface data */
struct ifnet *master; /* master interface, or ==ifp */
@@ -465,7 +467,7 @@ typedef struct _board_t {
#define CX_SPEED_DFLT 9600
-#ifdef KERNEL
+#ifdef _KERNEL
int cx_probe_board (int port);
void cx_init (cx_board_t *b, int num, int port, int irq, int dma);
void cx_setup_board (cx_board_t *b);
OpenPOWER on IntegriCloud