summaryrefslogtreecommitdiffstats
path: root/sys/netatm/spans
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-12 07:42:34 +0000
committerphk <phk@FreeBSD.org>2000-10-12 07:42:34 +0000
commitacecaa1fc20521bb074aac431cdae4193ce27ee6 (patch)
treed6b40770b3946bce9efff1787a71d0a4c5e81e06 /sys/netatm/spans
parent1324e3deb9c9197e7d69099fb8758c7d54d0f5be (diff)
downloadFreeBSD-src-acecaa1fc20521bb074aac431cdae4193ce27ee6.zip
FreeBSD-src-acecaa1fc20521bb074aac431cdae4193ce27ee6.tar.gz
More HARP polishina:
unifdef -UFORE_SBUS -DFORE_PCI s/ATM_KERNEL/_KERNER/g
Diffstat (limited to 'sys/netatm/spans')
-rw-r--r--sys/netatm/spans/spans_cls.h4
-rw-r--r--sys/netatm/spans/spans_var.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/netatm/spans/spans_cls.h b/sys/netatm/spans/spans_cls.h
index 02e2f6a..3c7a7ff 100644
--- a/sys/netatm/spans/spans_cls.h
+++ b/sys/netatm/spans/spans_cls.h
@@ -147,7 +147,7 @@ struct spansarp_hdr {
#define ARP_PACKET_LEN \
(sizeof(struct spanscls_hdr) + sizeof(struct spansarp_hdr))
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Macros for manipulating SPANS ARP tables and entries
*/
@@ -183,6 +183,6 @@ struct spansarp_hdr {
extern struct spanscls *spanscls_head;
extern struct spanscls_hdr spanscls_hdr;
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
#endif /* _SPANS_SPANSCLS_H */
diff --git a/sys/netatm/spans/spans_var.h b/sys/netatm/spans/spans_var.h
index f93d1fc..3f0dbb3 100644
--- a/sys/netatm/spans/spans_var.h
+++ b/sys/netatm/spans/spans_var.h
@@ -38,7 +38,7 @@
#ifndef _SPANS_SPANS_VAR_H
#define _SPANS_SPANS_VAR_H
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Constants to indicate the state of the signalling interface
*/
@@ -74,7 +74,7 @@ struct spans {
#define sp_vccq sp_inst.si_vccq
#define sp_state sp_inst.si_state
#define sp_ipserv sp_inst.si_ipserv
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
/*
* SPANS Protocol States
@@ -89,7 +89,7 @@ struct spans {
#define SPANS_PROBE_ERR_WAIT (3 * ATM_HZ) /* Time to wait if send probe fails */
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* SPANS Virtual Channel Connection control block. All information
* regarding the state of a SPANS-controlled VCC will be recorded here.
@@ -130,7 +130,7 @@ struct spans_vccb {
#define SV_MAX_RETRY 3
#define SV_TIMEOUT (ATM_HZ)
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
/*
@@ -147,7 +147,7 @@ struct spans_vccb {
#define SPANS_VC_FREE 8 /* Waiting for user to free resources */
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Macro to compare two SPANS addresses.
*
@@ -254,6 +254,6 @@ extern struct sp_info spans_vcpool;
extern struct sp_info spans_msgpool;
extern struct t_atm_cause spans_cause;
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
#endif /* _SPANS_SPANS_VAR_H */
OpenPOWER on IntegriCloud