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
This commit is contained in:
Brooks Davis 2002-09-02 00:52:11 +00:00
parent ce68dae5d6
commit 5906e69ac2
86 changed files with 70 additions and 512 deletions

View File

@ -817,23 +817,23 @@ i4b/driver/i4b_rbch.c count i4brbch
i4b/driver/i4b_tel.c count i4btel
i4b/driver/i4b_ipr.c count i4bipr
net/slcompress.c optional i4bipr
i4b/driver/i4b_ctl.c count i4bctl
i4b/driver/i4b_ctl.c optional i4bctl
i4b/driver/i4b_ing.c count i4bing
i4b/driver/i4b_isppp.c count i4bisppp
net/slcompress.c optional i4bisppp
#
# isdn4bsd CAPI driver
#
i4b/capi/capi_l4if.c count i4bcapi
i4b/capi/capi_l4if.c optional i4bcapi
i4b/capi/capi_llif.c optional i4bcapi
i4b/capi/capi_msgs.c optional i4bcapi
#
# isdn4bsd AVM B1/T1 CAPI driver
#
i4b/capi/iavc/iavc_pci.c count iavc pci
i4b/capi/iavc/iavc_isa.c optional iavc
i4b/capi/iavc/iavc_lli.c optional iavc
i4b/capi/iavc/iavc_card.c optional iavc
i4b/capi/iavc/iavc_pci.c optional iavc i4bcapi pci
i4b/capi/iavc/iavc_isa.c optional iavc i4bcapi isa
i4b/capi/iavc/iavc_lli.c optional iavc i4bcapi
i4b/capi/iavc/iavc_card.c optional iavc i4bcapi
#
# isdn4bsd support
#
@ -841,7 +841,7 @@ i4b/layer2/i4b_mbuf.c optional i4btrc
#
# isdn4bsd Q.921 handler
#
i4b/layer2/i4b_l2.c count i4bq921
i4b/layer2/i4b_l2.c optional i4bq921
i4b/layer2/i4b_l2fsm.c optional i4bq921
i4b/layer2/i4b_uframe.c optional i4bq921
i4b/layer2/i4b_tei.c optional i4bq921
@ -853,7 +853,7 @@ i4b/layer2/i4b_lme.c optional i4bq921
#
# isdn4bsd Q.931 handler
#
i4b/layer3/i4b_q931.c count i4bq931
i4b/layer3/i4b_q931.c optional i4bq931
i4b/layer3/i4b_l3fsm.c optional i4bq931
i4b/layer3/i4b_l3timer.c optional i4bq931
i4b/layer3/i4b_l2if.c optional i4bq931
@ -862,7 +862,7 @@ i4b/layer3/i4b_q932fac.c optional i4bq931
#
# isdn4bsd control device driver, interface to isdnd
#
i4b/layer4/i4b_i4bdrv.c count i4b
i4b/layer4/i4b_i4bdrv.c optional i4b
i4b/layer4/i4b_l4.c optional i4b
i4b/layer4/i4b_l4mgmt.c optional i4b
i4b/layer4/i4b_l4timer.c optional i4b

View File

@ -332,7 +332,7 @@ i4b/layer1/isic/i4b_elsa_qs1p.c optional isic pci
i4b/layer1/isic/i4b_elsa_pcc16.c optional isic
i4b/layer1/isic/i4b_hscx.c optional isic
i4b/layer1/isic/i4b_isac.c optional isic
i4b/layer1/isic/i4b_isic.c count isic
i4b/layer1/isic/i4b_isic.c optional isic
i4b/layer1/isic/i4b_isic_isa.c optional isic
i4b/layer1/isic/i4b_isic_pnp.c optional isic
i4b/layer1/isic/i4b_itk_ix1.c optional isic
@ -348,7 +348,7 @@ i4b/layer1/isic/i4b_diva.c optional isic
#
# isdn4bsd, iwic
#
i4b/layer1/iwic/i4b_iwic_pci.c count iwic pci
i4b/layer1/iwic/i4b_iwic_pci.c optional iwic pci
i4b/layer1/iwic/i4b_iwic_dchan.c optional iwic pci
i4b/layer1/iwic/i4b_iwic_bchan.c optional iwic pci
i4b/layer1/iwic/i4b_iwic_fsm.c optional iwic pci
@ -356,34 +356,34 @@ i4b/layer1/iwic/i4b_iwic_l1if.c optional iwic pci
#
# isdn4bsd, ifpi
#
i4b/layer1/ifpi/i4b_ifpi_pci.c count ifpi pci
i4b/layer1/ifpi/i4b_ifpi_pci.c optional ifpi pci
i4b/layer1/ifpi/i4b_ifpi_isac.c optional ifpi pci
i4b/layer1/ifpi/i4b_ifpi_l1.c optional ifpi pci
i4b/layer1/ifpi/i4b_ifpi_l1fsm.c optional ifpi pci
#
# isdn4bsd, ifpi2
#
i4b/layer1/ifpi2/i4b_ifpi2_pci.c count ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_pci.c optional ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_isacsx.c optional ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_l1.c optional ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_l1fsm.c optional ifpi2 pci
#
# isdn4bsd, ifpnp
#
i4b/layer1/ifpnp/i4b_ifpnp_avm.c count ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_avm.c optional ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_isac.c optional ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_l1.c optional ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_l1fsm.c optional ifpnp
#
# isdn4bsd, ihfc
#
i4b/layer1/ihfc/i4b_ihfc_l1if.c count ihfc
i4b/layer1/ihfc/i4b_ihfc_l1if.c optional ihfc
i4b/layer1/ihfc/i4b_ihfc_pnp.c optional ihfc
i4b/layer1/ihfc/i4b_ihfc_drv.c optional ihfc
#
# isdn4bsd, itjc
#
i4b/layer1/itjc/i4b_itjc_pci.c count itjc
i4b/layer1/itjc/i4b_itjc_pci.c optional itjc
i4b/layer1/itjc/i4b_itjc_isac.c optional itjc
i4b/layer1/itjc/i4b_itjc_l1.c optional itjc
i4b/layer1/itjc/i4b_itjc_l1fsm.c optional itjc

View File

@ -298,7 +298,7 @@ i4b/layer1/isic/i4b_elsa_qs1p.c optional isic pci
i4b/layer1/isic/i4b_elsa_pcc16.c optional isic
i4b/layer1/isic/i4b_hscx.c optional isic
i4b/layer1/isic/i4b_isac.c optional isic
i4b/layer1/isic/i4b_isic.c count isic
i4b/layer1/isic/i4b_isic.c optional isic
i4b/layer1/isic/i4b_isic_isa.c optional isic
i4b/layer1/isic/i4b_isic_pnp.c optional isic
i4b/layer1/isic/i4b_itk_ix1.c optional isic
@ -314,7 +314,7 @@ i4b/layer1/isic/i4b_diva.c optional isic
#
# isdn4bsd, iwic
#
i4b/layer1/iwic/i4b_iwic_pci.c count iwic pci
i4b/layer1/iwic/i4b_iwic_pci.c optional iwic pci
i4b/layer1/iwic/i4b_iwic_dchan.c optional iwic pci
i4b/layer1/iwic/i4b_iwic_bchan.c optional iwic pci
i4b/layer1/iwic/i4b_iwic_fsm.c optional iwic pci
@ -322,34 +322,34 @@ i4b/layer1/iwic/i4b_iwic_l1if.c optional iwic pci
#
# isdn4bsd, ifpi
#
i4b/layer1/ifpi/i4b_ifpi_pci.c count ifpi pci
i4b/layer1/ifpi/i4b_ifpi_pci.c optional ifpi pci
i4b/layer1/ifpi/i4b_ifpi_isac.c optional ifpi pci
i4b/layer1/ifpi/i4b_ifpi_l1.c optional ifpi pci
i4b/layer1/ifpi/i4b_ifpi_l1fsm.c optional ifpi pci
#
# isdn4bsd, ifpi2
#
i4b/layer1/ifpi2/i4b_ifpi2_pci.c count ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_pci.c optional ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_isacsx.c optional ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_l1.c optional ifpi2 pci
i4b/layer1/ifpi2/i4b_ifpi2_l1fsm.c optional ifpi2 pci
#
# isdn4bsd, ifpnp
#
i4b/layer1/ifpnp/i4b_ifpnp_avm.c count ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_avm.c optional ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_isac.c optional ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_l1.c optional ifpnp
i4b/layer1/ifpnp/i4b_ifpnp_l1fsm.c optional ifpnp
#
# isdn4bsd, ihfc
#
i4b/layer1/ihfc/i4b_ihfc_l1if.c count ihfc
i4b/layer1/ihfc/i4b_ihfc_l1if.c optional ihfc
i4b/layer1/ihfc/i4b_ihfc_pnp.c optional ihfc
i4b/layer1/ihfc/i4b_ihfc_drv.c optional ihfc
#
# isdn4bsd, itjc
#
i4b/layer1/itjc/i4b_itjc_pci.c count itjc
i4b/layer1/itjc/i4b_itjc_pci.c optional itjc
i4b/layer1/itjc/i4b_itjc_isac.c optional itjc
i4b/layer1/itjc/i4b_itjc_l1.c optional itjc
i4b/layer1/itjc/i4b_itjc_l1fsm.c optional itjc

View File

@ -664,7 +664,7 @@ hint.pcf.0.irq="5"
#---------------------------------------------------------------------------
# isic driver (Siemens/Infineon chipsets)
#
device isic 1
device isic
#
# ISA bus non-PnP Cards:
# ----------------------
@ -763,7 +763,7 @@ options ELSA_QS1PCI
# ifpnp driver for AVM Fritz!Card PnP
#
# AVM Fritz!Card PnP
device ifpnp 1
device ifpnp
#
#---------------------------------------------------------------------------
# ihfc driver for Cologne Chip ISA chipsets (experimental!)
@ -771,37 +771,37 @@ device ifpnp 1
# Teles 16.3c ISA PnP
# AcerISDN P10 ISA PnP
# TELEINT ISDN SPEED No.1
device ihfc 1
device ihfc
#
#---------------------------------------------------------------------------
# ifpi driver for AVM Fritz!Card PCI
#
# AVM Fritz!Card PCI
device ifpi 1
device ifpi
#
#---------------------------------------------------------------------------
# ifpi2 driver for AVM Fritz!Card PCI version 2
#
# AVM Fritz!Card PCI version 2
device "ifpi2" 1
device "ifpi2"
#
#---------------------------------------------------------------------------
# iwic driver for Winbond W6692 chipset
#
# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
device iwic 1
device iwic
#
#---------------------------------------------------------------------------
# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset
#
# Traverse Technologies NETjet-S
# Teles PCI-TJ
device itjc 1
device itjc
#
#---------------------------------------------------------------------------
# iavc driver (AVM active cards, needs i4bcapi driver!)
#
device iavc 1
device iavc
#
# AVM B1 ISA bus (PnP mode not supported!)
# ----------------------------------------
@ -813,13 +813,13 @@ hint.iavc.0.irq="5"
# ISDN Protocol Stack - mandatory for all hardware drivers
#
# Q.921 / layer 2 - i4b passive cards D channel handling
device "i4bq921" 1
device "i4bq921"
#
# Q.931 / layer 3 - i4b passive cards D channel handling
device "i4bq931" 1
device "i4bq931"
#
# layer 4 - i4b common passive and active card handling
device "i4b" 1
device "i4b"
#
#---------------------------------------------------------------------------
# ISDN devices - mandatory for all hardware drivers
@ -828,7 +828,7 @@ device "i4b" 1
device "i4btrc" 4
#
# userland driver to control the whole thing
device "i4bctl" 1
device "i4bctl"
#
#---------------------------------------------------------------------------
# ISDN devices - optional
@ -854,7 +854,7 @@ device "i4bisppp" 4
device "i4bing" 2
#
# CAPI driver needed for active ISDN cards (see iavc driver above)
device "i4bcapi" 1
device "i4bcapi"
#
#---------------------------------------------------------------------------

View File

@ -27,9 +27,6 @@
* $FreeBSD$
*/
#include "i4bcapi.h"
#if NI4BCAPI > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -446,5 +443,3 @@ n_download(int unit, int numprotos, struct isdn_dr_prot *protocols)
return(0);
}
#endif /* NI4BCAPI > 0 */

View File

@ -27,9 +27,6 @@
* $FreeBSD$
*/
#include "i4bcapi.h"
#if NI4BCAPI > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -162,5 +159,3 @@ capi_ll_receive(capi_softc_t *sc, struct mbuf *m)
i4b_Dfreembuf(m);
return(0);
}
#endif /* NI4BCAPI > 0*/

View File

@ -27,9 +27,6 @@
* $FreeBSD$
*/
#include "i4bcapi.h"
#if NI4BCAPI > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -949,5 +946,3 @@ void capi_disconnect_ind(capi_softc_t *sc, struct mbuf *m_in)
sc->send(sc, m);
}
#endif /* NI4BCAPI > 0 */

View File

@ -28,11 +28,6 @@
* $FreeBSD$
*/
#include "iavc.h"
#include "i4bcapi.h"
#if (NIAVC > 0) && (NI4BCAPI > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -287,5 +282,3 @@ void t1_reset(iavc_softc_t *sc)
iavc_write_port(sc, T1_IRQMASTER, 0x00);
iavc_write_port(sc, T1_RESETBOARD, 0x0f);
}
#endif

View File

@ -25,11 +25,6 @@
* $FreeBSD$
*/
#include "iavc.h"
#include "i4bcapi.h"
#if (NIAVC > 0) && (NI4BCAPI > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -293,5 +288,3 @@ iavc_isa_intr(struct iavc_softc *sc)
{
iavc_handle_intr(sc);
}
#endif

View File

@ -28,11 +28,6 @@
* $FreeBSD$
*/
#include "iavc.h"
#include "i4bcapi.h"
#if (NIAVC > 0) && (NI4BCAPI > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -830,5 +825,3 @@ static void iavc_start_tx(iavc_softc_t *sc)
AMCC_WRITE(sc, AMCC_INTCSR, sc->sc_csr);
}
}
#endif

View File

@ -28,11 +28,6 @@
* $FreeBSD$
*/
#include "iavc.h"
#include "i4bcapi.h"
#if (NIAVC > 0) && (NI4BCAPI > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -277,5 +272,3 @@ iavc_pci_intr(struct iavc_softc *sc)
{
iavc_handle_intr(sc);
}
#endif

View File

@ -33,14 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bctl.h"
#if NI4BCTL > 1
#error "only 1 (one) i4bctl device allowed!"
#endif
#if NI4BCTL > 0
#include <sys/param.h>
#include <sys/ioccom.h>
#include <sys/kernel.h>
@ -240,5 +232,3 @@ i4bctlpoll (dev_t dev, int events, struct thread *td)
{
return (ENODEV);
}
#endif /* NI4BCTL > 0 */

View File

@ -35,8 +35,6 @@
#include "i4bing.h"
#if NI4BING > 0
#include "opt_i4b.h"
#include <sys/param.h>
@ -864,5 +862,3 @@ ng_ing_disconnect(hook_p hook)
}
/*===========================================================================*/
#endif /* NI4BING > 0 */

View File

@ -58,8 +58,6 @@
#include "i4bipr.h"
#if NI4BIPR > 0
#include "opt_i4b.h"
#include <sys/param.h>
@ -1033,5 +1031,3 @@ ipr_init_linktab(int unit)
}
/*===========================================================================*/
#endif /* NI4BIPR > 0 */

View File

@ -42,10 +42,6 @@
#include "i4bisppp.h"
#if NI4BISPPP == 0
# error "You need to define `device sppp <N>' with options ISPPP"
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>

View File

@ -35,8 +35,6 @@
#include "i4brbch.h"
#if NI4BRBCH > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -846,5 +844,3 @@ rbch_init_linktab(int unit)
}
/*===========================================================================*/
#endif /* NI4BRBCH > 0 */

View File

@ -35,8 +35,6 @@
#include "i4btel.h"
#if NI4BTEL > 0
#undef I4BTELDEBUG
#include <sys/param.h>
@ -1686,5 +1684,3 @@ static u_char sinetab[8000] = { 213, 213, 213, 213, 213, 213, 213, 212,
84, 84, 84, 84, 85, 85, 85, 85, 85, 85, 90, 90, 90 };
/*===========================================================================*/
#endif /* NI4BTEL > 0 */

View File

@ -37,8 +37,6 @@
#include "i4btrc.h"
#if NI4BTRC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioccom.h>
@ -451,5 +449,3 @@ i4btrcioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
}
return(error);
}
#endif /* NI4BTRC > 0 */

View File

@ -33,14 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "iwic.h"
#include "ifpi.h"
#include "ifpi2.h"
#include "ifpnp.h"
#include "ihfc.h"
#include "itjc.h"
#include <sys/param.h>
#include <sys/systm.h>
@ -84,33 +76,19 @@
unsigned int i4b_l1_debug = L1_DEBUG_DEFAULT;
#if NISIC > 0
static int l1isicunittab[MAXL1UNITS];
#endif
#if NIWIC > 0
static int l1iwicunittab[MAXL1UNITS];
#endif
#if NIFPI > 0
static int l1ifpiunittab[MAXL1UNITS];
#endif
#if NIFPI2 > 0
static int l1ifpi2unittab[MAXL1UNITS];
#endif
#if NIHFC > 0
static int l1ihfcunittab[MAXL1UNITS];
#endif
#if NIFPNP > 0
static int l1ifpnpunittab[MAXL1UNITS];
#endif
#if NITJC > 0
static int l1itjcunittab[MAXL1UNITS];
#endif
static int numl1units = 0;
@ -167,41 +145,27 @@ getl1tab(int drv)
{
switch(drv)
{
#if NISIC > 0
case L1DRVR_ISIC:
return(l1isicunittab);
break;
#endif
#if NIWIC > 0
case L1DRVR_IWIC:
return(l1iwicunittab);
break;
#endif
#if NIFPI > 0
case L1DRVR_IFPI:
return(l1ifpiunittab);
break;
#endif
#if NIFPI2 > 0
case L1DRVR_IFPI2:
return(l1ifpi2unittab);
break;
#endif
#if NIHFC > 0
case L1DRVR_IHFC:
return(l1ihfcunittab);
break;
#endif
#if NIFPNP > 0
case L1DRVR_IFPNP:
return(l1ifpnpunittab);
break;
#endif
#if NITJC > 0
case L1DRVR_ITJC:
return(l1itjcunittab);
break;
#endif
default:
return(NULL);
break;
@ -310,41 +274,27 @@ i4b_l1_mph_status_ind(int drv_unit, int status, int parm, struct i4b_l1mux_func
switch(L0DRVR(drv_unit))
{
#if NISIC > 0
case L1DRVR_ISIC:
printf("isic%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
#if NIWIC > 0
case L1DRVR_IWIC:
printf("iwic%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
#if NIFPI > 0
case L1DRVR_IFPI:
printf("ifpi%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
#if NIFPI2 > 0
case L1DRVR_IFPI2:
printf("ifpi2-%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
#if NIFPNP > 0
case L1DRVR_IFPNP:
printf("ifpnp%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
#if NIHFC > 0
case L1DRVR_IHFC:
printf("ihfc%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
#if NITJC > 0
case L1DRVR_ITJC:
printf("itjc%d: passive stack unit %d\n", L0UNIT(drv_unit), numl1units);
break;
#endif
}
NDBGL1(L1_PRIM, "ATTACH drv %d, drvunit %d -> unit %d", L0DRVR(drv_unit), L0UNIT(drv_unit), numl1units);

View File

@ -35,10 +35,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi.h"
#if (NIFPI > 0)
#include "opt_i4b.h"
#include <sys/param.h>
@ -661,5 +657,3 @@ ifpi_isac_init(struct l1_softc *sc)
return(0);
}
#endif /* NIFPI > 0 */

View File

@ -35,10 +35,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi.h"
#if (NIFPI > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -239,5 +235,3 @@ ifpi_mph_command_req(int unit, int command, void *parm)
return(0);
}
#endif /* NIFPI > 0 */

View File

@ -35,10 +35,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi.h"
#if (NIFPI > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -512,5 +508,3 @@ ifpi_printstate(struct l1_softc *sc)
return((char *) state_text[sc->sc_I430state]);
}
#endif
#endif /* NIFPI > 0 */

View File

@ -41,11 +41,8 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi.h"
#include "opt_i4b.h"
#if (NIFPI > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -1496,6 +1493,3 @@ ifpi_recover(struct l1_softc *sc)
DELAY(100);
ISAC_WRITE(I_MASK, ISAC_IMASK);
}
#endif /* NIFPI > 0 */

View File

@ -35,10 +35,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi2.h"
#if (NIFPI2 > 0)
#include "opt_i4b.h"
#include <sys/param.h>
@ -595,5 +591,3 @@ ifpi2_isacsx_init(struct l1_softc *sc)
return(0);
}
#endif /* NIFPI2 > 0 */

View File

@ -35,10 +35,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi2.h"
#if (NIFPI2 > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -239,5 +235,3 @@ ifpi2_mph_command_req(int unit, int command, void *parm)
return(0);
}
#endif /* NIFPI2 > 0 */

View File

@ -34,10 +34,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi2.h"
#if (NIFPI2 > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -511,5 +507,3 @@ ifpi2_printstate(struct l1_softc *sc)
return((char *) state_text[sc->sc_I430state]);
}
#endif
#endif /* NIFPI2 > 0 */

View File

@ -40,11 +40,8 @@
*
*---------------------------------------------------------------------------*/
#include "ifpi2.h"
#include "opt_i4b.h"
#if (NIFPI2 > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -1444,6 +1441,3 @@ ifpi2_recover(struct l1_softc *sc)
ISAC_WRITE(I_MASK, isacsx_imask);
#endif
}
#endif /* NIFPI2 > 0 */

View File

@ -39,11 +39,8 @@
*
*---------------------------------------------------------------------------*/
#include "ifpnp.h"
#include "opt_i4b.h"
#if (NIFPNP > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -1391,5 +1388,3 @@ ifpnp_recover(struct l1_softc *sc)
DELAY(100);
ISAC_WRITE(I_MASK, ISAC_IMASK);
}
#endif /* NIFPNP > 0 */

View File

@ -36,10 +36,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpnp.h"
#if (NIFPNP > 0)
#include "opt_i4b.h"
#include <sys/param.h>
@ -662,5 +658,3 @@ ifpnp_isac_init(struct l1_softc *sc)
return(0);
}
#endif /* NIFPNP > 0 */

View File

@ -36,10 +36,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpnp.h"
#if (NIFPNP > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -240,5 +236,3 @@ ifpnp_mph_command_req(int unit, int command, void *parm)
return(0);
}
#endif /* NIFPNP > 0 */

View File

@ -36,10 +36,6 @@
*
*---------------------------------------------------------------------------*/
#include "ifpnp.h"
#if (NIFPNP > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -513,5 +509,3 @@ ifpnp_printstate(struct l1_softc *sc)
return((char *) state_text[sc->sc_I430state]);
}
#endif
#endif /* NIFPNP > 0 */

View File

@ -36,10 +36,6 @@
*
*---------------------------------------------------------------------------*/
#include "ihfc.h"
#if (NIHFC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@ -1761,5 +1757,3 @@ ihfc_test_Bread (ihfc_sc_t *sc, u_char chan)
S_HDLC_TMP = error;
S_HDLC_FLAG = ecount;
}
#endif /* NIHFC > 0 */

View File

@ -40,10 +40,6 @@
*
*---------------------------------------------------------------------------*/
#include "ihfc.h"
#if (NIHFC > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -513,5 +509,3 @@ ihfc_B_linkinit(ihfc_sc_t *sc)
S_BLINK.rx_mbuf = &S_MBUFDUMMY;
}
}
#endif /* NIHFC > 0 */

View File

@ -39,10 +39,6 @@
*
*---------------------------------------------------------------------------*/
#include "ihfc.h"
#if (NIHFC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@ -437,5 +433,3 @@ ihfc_pnp_detach (device_t dev, u_int flag)
return 0;
}
#endif /* NIHFC > 0 */

View File

@ -46,10 +46,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined (ASUSCOM_IPAC)
#if defined (ASUSCOM_IPAC)
#include <sys/param.h>
#include <sys/systm.h>
@ -230,4 +229,4 @@ isic_attach_asi(device_t dev)
return(0);
}
#endif /* (NISIC > 0) && defined (ASUSCOM_IPAC) */
#endif /* defined (ASUSCOM_IPAC) */

View File

@ -41,10 +41,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined(AVM_A1)
#if defined(AVM_A1)
#include <sys/param.h>
#include <sys/systm.h>
@ -407,4 +406,4 @@ isic_attach_avma1(device_t dev)
return(0);
}
#endif /* NISIC > 0 && defined(AVM_A1) */
#endif /* defined(AVM_A1) */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#if NISIC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -399,5 +395,3 @@ isic_init_linktab(struct l1_softc *sc)
/* used by HDLC data transfers, i.e. ipr and isp drivers */
lt->rx_mbuf = &chan->in_mbuf;
}
#endif /* NISIC > 0 */

View File

@ -40,10 +40,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && (defined(CRTX_S0_P) || defined(TEL_S0_16_3_P) || defined(COMPAQ_M610))
#if (defined(CRTX_S0_P) || defined(TEL_S0_16_3_P) || defined(COMPAQ_M610))
#include <sys/param.h>
#include <sys/systm.h>
@ -312,5 +311,5 @@ isic_attach_Cs0P(device_t dev)
return 0;
}
#endif /* (NISIC > 0) && (defined(CRTX_S0_P) || defined(TEL_S0_16_3_P) || defined(COMPAQ_M610)) */
#endif /* (defined(CRTX_S0_P) || defined(TEL_S0_16_3_P) || defined(COMPAQ_M610)) */

View File

@ -33,10 +33,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined EICON_DIVA
#if defined EICON_DIVA
#include <sys/param.h>
#include <sys/systm.h>
@ -395,4 +394,4 @@ isic_attach_diva(device_t dev)
return(0);
}
#endif /* NISIC > 0 && defined EICON_DIVA */
#endif /* defined EICON_DIVA */

View File

@ -33,10 +33,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined(DRN_NGO)
#if defined(DRN_NGO)
#include <sys/param.h>
#include <sys/systm.h>
@ -257,4 +256,4 @@ isic_attach_drnngo(device_t dev)
return (0);
}
#endif /* (NISIC > 0) && defined(DRN_NGO) */
#endif /* defined(DRN_NGO) */

View File

@ -67,10 +67,9 @@
This driver might also work for Asuscom cards.
*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined(DYNALINK)
#if defined(DYNALINK)
#include <sys/param.h>
#include <sys/systm.h>
@ -230,4 +229,4 @@ isic_attach_Dyn(device_t dev)
return 0;
}
#endif /* (NISIC > 0) && defined(DYNALINK) */
#endif /* defined(DYNALINK) */

View File

@ -33,10 +33,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined(ELSA_PCC16)
#if defined(ELSA_PCC16)
#include <sys/param.h>
#include <sys/systm.h>
@ -388,4 +387,4 @@ isic_attach_Epcc16(device_t dev)
return 0;
}
#endif /* (NISIC > 0) && defined(ELSA_PCC16) */
#endif /* defined(ELSA_PCC16) */

View File

@ -33,10 +33,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined(ELSA_QS1ISA)
#if defined(ELSA_QS1ISA)
#include <sys/param.h>
#include <sys/systm.h>
@ -234,4 +233,4 @@ isic_attach_Eqs1pi(device_t dev)
return 0;
}
#endif /* (NISIC > 0) && defined(ELSA_QS1ISA) */
#endif /* defined(ELSA_QS1ISA) */

View File

@ -35,10 +35,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined(ELSA_QS1PCI)
#if defined(ELSA_QS1PCI)
#include <sys/param.h>
#include <sys/kernel.h>
@ -349,4 +348,4 @@ eqs1p_pci_attach(device_t dev)
return(0);
}
#endif /* (NISIC > 0) && && defined(ELSA_QS1PCI) */
#endif /* defined(ELSA_QS1PCI) */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#if NISIC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -649,5 +645,3 @@ isic_hscx_waitxfw(struct l1_softc *sc, int h_chan)
NDBGL1(L1_H_XFRERR, "HSCX wait for XFW time: %d uS", (WAITTO-timeout)*50);
}
}
#endif /* NISIC > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#if NISIC > 0
#include "opt_i4b.h"
#include <sys/param.h>
@ -656,5 +652,3 @@ isic_isac_init(struct l1_softc *sc)
return(0);
}
#endif /* NISIC > 0 */

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@ -494,6 +491,3 @@ isic_detach_common(device_t dev)
}
}
}
#endif /* NISIC > 0 */

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -206,4 +203,3 @@ isic_isa_attach(device_t dev)
return(ret);
}
#endif /* NISIC > 0 */

View File

@ -43,11 +43,8 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@ -327,4 +324,3 @@ isic_pnp_attach(device_t dev)
return 0;
}
}
#endif /* (NISIC > 0) */

View File

@ -60,10 +60,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined(ITKIX1)
#if defined(ITKIX1)
#include <sys/param.h>
#include <sys/systm.h>
@ -394,4 +393,4 @@ isic_attach_itkix1(device_t dev)
return 0;
}
#endif /* ITKIX1 */
#endif /* defined(ITKIX1) */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#if NISIC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -250,5 +246,3 @@ isic_mph_command_req(int unit, int command, void *parm)
return(0);
}
#endif /* NISIC > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#if NISIC > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -507,6 +503,3 @@ isic_printstate(struct l1_softc *sc)
return((char *) state_text[sc->sc_I430state]);
}
#endif
#endif /* NISIC > 0 */

View File

@ -42,10 +42,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined(SIEMENS_ISURF2)
#if defined(SIEMENS_ISURF2)
#include <sys/param.h>
#include <sys/systm.h>
@ -227,4 +226,4 @@ isic_attach_siemens_isurf(device_t dev)
return(0);
}
#endif /* NISIC > 0 && defined(SIEMENS_ISURF2) */
#endif /* defined(SIEMENS_ISURF2) */

View File

@ -50,10 +50,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if defined (SEDLBAUER) && NISIC > 0
#if defined (SEDLBAUER)
#define SWS_RESON 0 /* reset on */
#define SWS_RESOFF 1 /* reset off */
@ -209,4 +208,4 @@ isic_attach_sws(device_t dev)
return(0);
}
#endif /* defined(SEDLBAUER) && NISIC > 0 */
#endif /* defined(SEDLBAUER) */

View File

@ -43,10 +43,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined(TEL_S0_16)
#if defined(TEL_S0_16)
#include <sys/param.h>
#include <sys/systm.h>
@ -367,4 +366,5 @@ isic_attach_s016(device_t dev)
return 0;
}
#endif /* ISIC > 0 */
#endif /* defined(TEL_S0_16) */

View File

@ -43,10 +43,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined(TEL_S0_16_3)
#if defined(TEL_S0_16_3)
#include <sys/param.h>
#include <sys/systm.h>
@ -371,5 +370,4 @@ isic_attach_s0163(device_t dev)
return (0);
}
#endif /* ISIC > 0 */
#endif /* defined(TEL_S0_16_3) */

View File

@ -43,10 +43,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if NISIC > 0 && defined(TEL_S0_8)
#if defined(TEL_S0_8)
#include <sys/param.h>
#include <sys/systm.h>
@ -300,4 +299,5 @@ isic_attach_s08(device_t dev)
return 0;
}
#endif /* ISIC > 0 */
#endif /* defined(TEL_S0_8) */

View File

@ -33,10 +33,9 @@
*
*---------------------------------------------------------------------------*/
#include "isic.h"
#include "opt_i4b.h"
#if (NISIC > 0) && defined(USR_STI)
#if defined(USR_STI)
#include <sys/param.h>
#include <sys/systm.h>
@ -495,4 +494,4 @@ isic_attach_usrtai(device_t dev)
return (0);
}
#endif /* ISIC > 0 */
#endif /* defined(USR_STI) */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "itjc.h"
#if (NITJC > 0)
#include "opt_i4b.h"
#include <sys/param.h>
@ -547,5 +543,3 @@ itjc_isac_init(struct l1_softc *sc)
return(0);
}
#endif /* NITJC > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "itjc.h"
#if (NITJC > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -238,5 +234,3 @@ itjc_mph_command_req(int unit, int command, void *parm)
return(0);
}
#endif /* NITJC > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "itjc.h"
#if (NITJC > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -515,5 +511,3 @@ itjc_printstate(struct l1_softc *sc)
return((char *) state_text[sc->sc_I430state]);
}
#endif
#endif /* NITJC > 0 */

View File

@ -39,11 +39,8 @@
*
*---------------------------------------------------------------------------*/
#include "itjc.h"
#include "opt_i4b.h"
#if (NITJC > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -2131,5 +2128,3 @@ itjc_recover(struct l1_softc *sc)
DELAY(100);
ISAC_WRITE(I_MASK, ISAC_IMASK);
}
#endif /* NITJC > 0 */

View File

@ -35,11 +35,8 @@
*
*---------------------------------------------------------------------------*/
#include "iwic.h"
#include "opt_i4b.h"
#if (NIWIC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -768,5 +765,3 @@ iwic_init_linktab(struct iwic_softc *sc)
/* used by HDLC data transfers, i.e. ipr and isp drivers */
lt->rx_mbuf = &chan->in_mbuf;
}
#endif /* NIWIC > 0 */

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "iwic.h"
#include "opt_i4b.h"
#if (NIWIC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -468,5 +465,3 @@ iwic_dchan_transmit(struct iwic_softc *sc)
sc->sc_dchan.tx_ready = 0;
IWIC_WRITE(sc, D_CMDR, cmd);
}
#endif /* (NIWIC > 0) */

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "iwic.h"
#include "opt_i4b.h"
#if (NIWIC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@ -223,5 +220,3 @@ iwic_printstate(struct iwic_softc *sc)
return((char *)state_names[sc->sc_I430state]);
}
#endif
#endif

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "iwic.h"
#include "opt_i4b.h"
#if (NIWIC > 0)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@ -148,5 +145,3 @@ iwic_set_linktab (int unit, int channel, drvr_link_t *dlt)
bchan->iwic_drvr_linktab = dlt;
}
#endif

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "iwic.h"
#include "opt_i4b.h"
#if (NIWIC > 0)
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -312,5 +309,3 @@ iwic_pci_intr(struct iwic_softc *sc)
}
}
}
#endif

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bq931.h"
#if NI4BQ931 > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -681,5 +677,3 @@ i4b_l3_tx_alert(call_desc_t *cd)
DL_Data_Req(ctrl_desc[cd->controller].unit, m);
}
#endif /* NI4BQ931 > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bq931.h"
#if NI4BQ931 > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -1038,5 +1034,3 @@ static void F_DLRIA(call_desc_t *cd)
DL_Est_Req(ctrl_desc[cd->controller].unit);
}
#endif /* NI4BQ931 > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bq931.h"
#if NI4BQ931 > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -326,6 +322,3 @@ T313_stop(call_desc_t *cd)
NDBGL3(L3_T_MSG, "cr = %d", cd->cr);
}
#endif /* NI4BQ931 > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bq931.h"
#if NI4BQ931 > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -323,5 +319,3 @@ n_alert_request(u_int cdid)
next_l3state(cd, EV_ALERTRQ);
}
#endif /* NI4BQ931 > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bq931.h"
#if NI4BQ931 > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -715,5 +711,3 @@ i4b_decode_q931_message(int unit, call_desc_t *cd, u_char message_type)
NDBGL3(L3_PRIM, "%s: unit %d, cr = 0x%02x\n", m, unit, cd->cr);
}
}
#endif /* NI4BQ931 > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4bq931.h"
#if NI4BQ931 > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -542,5 +538,3 @@ next_state(int class, int form, int code, int val)
}
}
}
#endif /* NI4BQ931 > 0 */

View File

@ -33,16 +33,9 @@
*
*---------------------------------------------------------------------------*/
#include "i4b.h"
#include "i4bipr.h"
#include "i4btel.h"
#if NI4B > 1
#error "only 1 (one) i4b device possible!"
#endif
#if NI4B > 0
#include <sys/param.h>
#include <sys/ioccom.h>
#include <sys/malloc.h>
@ -891,5 +884,3 @@ i4bputqueue_hipri(struct mbuf *m)
selwakeup(&select_rd_info);
}
}
#endif /* NI4B > 0 */

View File

@ -33,11 +33,8 @@
*
*---------------------------------------------------------------------------*/
#include "i4b.h"
#include "i4bipr.h"
#if NI4B > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -1102,5 +1099,3 @@ i4b_idle_check_var_unit(call_desc_t *cd)
break;
}
}
#endif /* NI4B > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4b.h"
#if NI4B > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -433,5 +429,3 @@ i4b_print_cdaa(void)
}
#endif /* I4B_CD_DEBUG_PRINT */
#endif /* NI4BQ931 > 0 */

View File

@ -33,10 +33,6 @@
*
*---------------------------------------------------------------------------*/
#include "i4b.h"
#if NI4B > 0
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
@ -90,5 +86,3 @@ T400_stop(call_desc_t *cd)
CRIT_END;
NDBGL4(L4_MSG, "cr = %d", cd->cr);
}
#endif /* NI4B > 0 */