summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer2
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2002-09-02 00:52:11 +0000
committerbrooks <brooks@FreeBSD.org>2002-09-02 00:52:11 +0000
commitd4da5d72113d0011e0d1339b61961137ac192469 (patch)
tree1857854f619e540f3234405cb9ae620d70b94922 /sys/i4b/layer2
parentc4f4388714c70defac789b47c61eeb2c9c3f4270 (diff)
downloadFreeBSD-src-d4da5d72113d0011e0d1339b61961137ac192469.zip
FreeBSD-src-d4da5d72113d0011e0d1339b61961137ac192469.tar.gz
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are no longer count devices. Also remove a few other instances of N<DEVICE> being used to control compilation of whole files. Reviewed by: hm
Diffstat (limited to 'sys/i4b/layer2')
-rw-r--r--sys/i4b/layer2/i4b_iframe.c6
-rw-r--r--sys/i4b/layer2/i4b_l2.c6
-rw-r--r--sys/i4b/layer2/i4b_l2fsm.c6
-rw-r--r--sys/i4b/layer2/i4b_l2timer.c6
-rw-r--r--sys/i4b/layer2/i4b_lme.c6
-rw-r--r--sys/i4b/layer2/i4b_sframe.c6
-rw-r--r--sys/i4b/layer2/i4b_tei.c6
-rw-r--r--sys/i4b/layer2/i4b_uframe.c6
-rw-r--r--sys/i4b/layer2/i4b_util.c7
9 files changed, 0 insertions, 55 deletions
diff --git a/sys/i4b/layer2/i4b_iframe.c b/sys/i4b/layer2/i4b_iframe.c
index 7d5cbd1..e9da4b7 100644
--- a/sys/i4b/layer2/i4b_iframe.c
+++ b/sys/i4b/layer2/i4b_iframe.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@@ -271,5 +267,3 @@ i4b_i_frame_queued_up(l2_softc_t *l2sc)
i4b_T200_start(l2sc);
}
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_l2.c b/sys/i4b/layer2/i4b_l2.c
index 9b36402..d37d5f3 100644
--- a/sys/i4b/layer2/i4b_l2.c
+++ b/sys/i4b/layer2/i4b_l2.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@@ -385,5 +381,3 @@ i4b_ph_data_ind(int unit, struct mbuf *m)
}
return(0);
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_l2fsm.c b/sys/i4b/layer2/i4b_l2fsm.c
index 9e07254..311c9df 100644
--- a/sys/i4b/layer2/i4b_l2fsm.c
+++ b/sys/i4b/layer2/i4b_l2fsm.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@@ -1579,5 +1575,3 @@ F_TR20(l2_softc_t *l2sc)
l2sc->l3initiated = 0;
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_l2timer.c b/sys/i4b/layer2/i4b_l2timer.c
index c3cbf1d..22c19f3 100644
--- a/sys/i4b/layer2/i4b_l2timer.c
+++ b/sys/i4b/layer2/i4b_l2timer.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@@ -233,5 +229,3 @@ i4b_T203_restart(l2_softc_t *l2sc)
NDBGL2(L2_T_MSG, "unit %d", l2sc->unit);
#endif
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_lme.c b/sys/i4b/layer2/i4b_lme.c
index fce3712..7c77659 100644
--- a/sys/i4b/layer2/i4b_lme.c
+++ b/sys/i4b/layer2/i4b_lme.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@@ -136,5 +132,3 @@ i4b_mdl_error_ind(l2_softc_t *l2sc, char *where, int errorcode)
break;
}
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_sframe.c b/sys/i4b/layer2/i4b_sframe.c
index 0b4c6c6..3f2faf5 100644
--- a/sys/i4b/layer2/i4b_sframe.c
+++ b/sys/i4b/layer2/i4b_sframe.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@@ -208,5 +204,3 @@ i4b_build_s_frame(l2_softc_t *l2sc, crbit_to_nt_t crbit, pbit_t pbit, u_char typ
return(m);
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_tei.c b/sys/i4b/layer2/i4b_tei.c
index 1e5cfa8..43c15ac 100644
--- a/sys/i4b/layer2/i4b_tei.c
+++ b/sys/i4b/layer2/i4b_tei.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/syslog.h>
@@ -279,5 +275,3 @@ i4b_make_rand_ri(l2_softc_t *l2sc)
l2sc->last_rih = (val >> 8) & 0x00ff;
l2sc->last_ril = val & 0x00ff;
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_uframe.c b/sys/i4b/layer2/i4b_uframe.c
index f7c89c2..8b1d242 100644
--- a/sys/i4b/layer2/i4b_uframe.c
+++ b/sys/i4b/layer2/i4b_uframe.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@@ -278,5 +274,3 @@ i4b_tx_frmr(l2_softc_t *l2sc, fbit_t fbit)
m = i4b_build_u_frame(l2sc, CR_RSP_TO_NT, fbit, FRMR);
PH_Data_Req(l2sc->unit, m, MBUF_FREE);
}
-
-#endif /* NI4BQ921 > 0 */
diff --git a/sys/i4b/layer2/i4b_util.c b/sys/i4b/layer2/i4b_util.c
index 511df7d..114f3a6 100644
--- a/sys/i4b/layer2/i4b_util.c
+++ b/sys/i4b/layer2/i4b_util.c
@@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
-#include "i4bq921.h"
-
-#if NI4BQ921 > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@@ -306,6 +302,3 @@ i4b_l2_nr_ok(int nr, int va, int vs)
}
return 1; /* good */
}
-
-#endif /* NI4BQ921 > 0 */
-
OpenPOWER on IntegriCloud