Submitted by: phk
Remove not needed includes.
This commit is contained in:
parent
5e498d91fd
commit
695a943911
@ -47,7 +47,6 @@
|
||||
|
||||
#if defined(__FreeBSD__) && __FreeBSD__ >= 3
|
||||
#include <sys/ioccom.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#else
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
@ -55,9 +54,6 @@
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -87,7 +83,6 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
|
@ -47,9 +47,6 @@
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ctype.h>
|
||||
#include <sys/ioccom.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/malloc.h>
|
||||
|
||||
#include <net/if.h>
|
||||
@ -62,7 +59,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
@ -86,12 +86,10 @@
|
||||
#endif
|
||||
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/protosw.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
@ -136,7 +134,6 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
@ -70,16 +70,12 @@
|
||||
#include <sys/ioccom.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/protosw.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
|
||||
#include <net/slcompress.h>
|
||||
@ -116,7 +112,6 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
@ -43,14 +43,6 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#if defined (__FreeBSD_version) && __FreeBSD_version <= 400000
|
||||
#include <machine/random.h>
|
||||
#else
|
||||
#include <sys/random.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mbuf.h>
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/tty.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
|
@ -58,7 +58,6 @@
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/tty.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
|
@ -56,7 +56,6 @@
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/tty.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
|
@ -42,12 +42,8 @@
|
||||
#include "ihfc.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <net/if.h>
|
||||
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
@ -56,7 +52,6 @@
|
||||
#include <i4b/layer1/i4b_l1.h>
|
||||
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
/*
|
||||
|
@ -36,12 +36,8 @@
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <net/if.h>
|
||||
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "opt_i4b.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -41,7 +41,6 @@
|
||||
#if (NIFPI > 0) && (NPCI > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "opt_i4b.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -41,7 +41,6 @@
|
||||
#if (NIFPNP > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
|
@ -44,16 +44,13 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#include <sys/mbuf.h>
|
||||
#include <machine/clock.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
@ -67,10 +64,8 @@
|
||||
|
||||
#include <machine/bus.h>
|
||||
#include <machine/resource.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/rman.h>
|
||||
|
||||
#include <isa/isavar.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* Local prototypes
|
||||
|
@ -61,7 +61,6 @@
|
||||
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
|
||||
#include <i4b/layer1/i4b_l1.h>
|
||||
#include <i4b/layer1/ihfc/i4b_ihfc.h>
|
||||
|
@ -49,12 +49,9 @@
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#include <sys/mbuf.h>
|
||||
#include <machine/clock.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
|
||||
#include <machine/i4b_ioctl.h>
|
||||
#include <machine/i4b_trace.h>
|
||||
|
@ -44,7 +44,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:41:56 2000]
|
||||
* last edit-date: [Fri Oct 13 15:59:33 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -54,9 +54,7 @@
|
||||
#if (NISIC > 0) && defined (ASUSCOM_IPAC)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -66,10 +64,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_ipac.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
|
@ -49,9 +49,7 @@
|
||||
#if NISIC > 0 && defined(AVM_A1)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <net/if.h>
|
||||
@ -61,7 +59,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
|
@ -40,7 +40,6 @@
|
||||
#if NISIC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <machine/stdarg.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Tue Aug 22 11:35:00 2000]
|
||||
* last edit-date: [Fri Oct 13 15:59:45 2000]
|
||||
*
|
||||
* Note: this driver works for the Creatix ISDN S0-16 P+P and
|
||||
* for the Teles S0/16.3 PnP card. Although they are not
|
||||
@ -48,9 +48,7 @@
|
||||
#if (NISIC > 0) && (defined(CRTX_S0_P) || defined(TEL_S0_16_3_P))
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -60,15 +58,11 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* Creatix / Teles PnP ISAC get fifo routine
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
@ -41,9 +41,7 @@
|
||||
#if (NISIC > 0) && defined(DRN_NGO)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -53,7 +51,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
|
@ -76,7 +76,6 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Wed Jul 19 09:53:35 2000]
|
||||
* last edit-date: [Fri Oct 13 16:00:01 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -43,9 +43,7 @@
|
||||
#if (NISIC > 0) && defined(ELSA_PCC16)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -54,10 +52,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:44:08 2000]
|
||||
* last edit-date: [Fri Oct 13 16:00:15 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -41,9 +41,7 @@
|
||||
#if (NISIC > 0) && defined(ELSA_QS1ISA)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -52,10 +50,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Fri Jun 2 13:57:26 2000]
|
||||
* last edit-date: [Fri Oct 13 16:00:24 2000]
|
||||
*
|
||||
* Note: ELSA Quickstep 1000pro PCI = ELSA MicroLink ISDN/PCI
|
||||
*
|
||||
@ -46,7 +46,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -63,10 +62,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
@ -40,7 +40,6 @@
|
||||
#if NISIC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include "opt_i4b.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -41,9 +41,7 @@
|
||||
#if NISIC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -61,7 +59,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
static char *ISACversion[] = {
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:45:34 2000]
|
||||
* last edit-date: [Fri Oct 13 16:00:46 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -43,7 +43,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -58,11 +57,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <sys/resource.h>
|
||||
#include <sys/bus.h>
|
||||
#include <isa/isavar.h>
|
||||
|
||||
|
@ -58,7 +58,6 @@
|
||||
|
||||
#include <machine/clock.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
|
||||
|
@ -68,9 +68,7 @@
|
||||
#if NISIC > 0 && defined(ITKIX1)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -84,8 +82,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
/* Register offsets */
|
||||
#define ITK_ISAC_DATA 0
|
||||
|
@ -40,7 +40,6 @@
|
||||
#if NISIC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:46:31 2000]
|
||||
* last edit-date: [Fri Oct 13 16:00:57 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -51,9 +51,7 @@
|
||||
#if NISIC > 0 && defined(SIEMENS_ISURF2)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -63,10 +61,6 @@
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/isic/i4b_isic.h>
|
||||
#include <i4b/layer1/isic/i4b_ipac.h>
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
|
@ -48,7 +48,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:46:49 2000]
|
||||
* last edit-date: [Fri Oct 13 16:01:10 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -68,9 +68,7 @@
|
||||
#define SWS_REGS 8 /* we use an area of 8 bytes for io */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -84,10 +82,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* SWS P&P ISAC get fifo routine
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:46:56 2000]
|
||||
* last edit-date: [Fri Oct 13 16:01:20 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -51,9 +51,7 @@
|
||||
#if NISIC > 0 && defined(TEL_S0_16)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -68,10 +66,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#define TELES_S016_MEMSIZE 0x1000
|
||||
|
||||
static u_char intr_no[] = { 1, 1, 0, 2, 4, 6, 1, 1, 1, 0, 8, 10, 12, 1, 1, 14 };
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:47:08 2000]
|
||||
* last edit-date: [Fri Oct 13 16:01:29 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -51,9 +51,7 @@
|
||||
#if NISIC > 0 && defined(TEL_S0_16_3)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -67,10 +65,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
static u_char intr_no[] = { 1, 1, 0, 2, 4, 6, 1, 1, 1, 0, 8, 10, 12, 1, 1, 14 };
|
||||
|
||||
#define ISAC_OFFS 0x400
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Mon May 29 16:47:20 2000]
|
||||
* last edit-date: [Fri Oct 13 16:01:42 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -51,9 +51,7 @@
|
||||
#if NISIC > 0 && defined(TEL_S0_8)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
@ -68,10 +66,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
/* #include <i4b/include/i4b_l1l2.h> */
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#define TELES_S08_MEMSIZE 0x1000
|
||||
|
||||
static const bus_size_t offset[] = { 0x100, 0x180, 0x1c0 };
|
||||
|
@ -45,13 +45,10 @@
|
||||
#if (NISIC > 0) && defined(USR_STI)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <machine/clock.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <machine/bus.h>
|
||||
#include <machine/resource.h>
|
||||
#include <sys/bus.h>
|
||||
@ -76,7 +73,6 @@
|
||||
#include <i4b/layer1/isic/i4b_isac.h>
|
||||
#include <i4b/layer1/isic/i4b_hscx.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* USR Sportster TA intern special registers
|
||||
|
@ -44,7 +44,6 @@
|
||||
#if (NIWIC > 0) && (NPCI > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -42,7 +42,6 @@
|
||||
#if (NIWIC > 0) && (NPCI > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -42,9 +42,7 @@
|
||||
#if (NIWIC > 0) && (NPCI > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -56,9 +54,7 @@
|
||||
|
||||
#include <i4b/layer1/i4b_l1.h>
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/iwic/i4b_iwic.h>
|
||||
#include <i4b/layer1/iwic/i4b_w6692.h>
|
||||
|
@ -42,9 +42,7 @@
|
||||
#if (NIWIC > 0) && (NPCI > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -52,11 +50,7 @@
|
||||
|
||||
#include <machine/bus.h>
|
||||
#include <machine/resource.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/rman.h>
|
||||
|
||||
#include <pci/pcireg.h>
|
||||
#include <pci/pcivar.h>
|
||||
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
@ -64,7 +58,6 @@
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/i4b_l1.h>
|
||||
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -64,7 +63,6 @@
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer1/i4b_l1.h>
|
||||
|
||||
|
@ -66,7 +66,6 @@
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
@ -63,7 +62,6 @@
|
||||
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
|
@ -43,9 +43,7 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -62,9 +60,7 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
|
@ -45,7 +45,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -62,10 +61,6 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
#include <i4b/layer2/i4b_l2fsm.h>
|
||||
|
@ -43,9 +43,7 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@ -61,13 +59,8 @@
|
||||
#include <i4b/i4b_ioctl.h>
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
#include <i4b/layer2/i4b_l2fsm.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* mdl assign indication handler
|
||||
|
@ -38,15 +38,10 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#define I4B_MBUF_DEBUG
|
||||
#undef I4B_MBUF_TYPE_DEBUG
|
||||
|
@ -43,7 +43,6 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
@ -62,8 +61,6 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Fri Sep 1 16:04:58 2000]
|
||||
* last edit-date: [Fri Oct 13 15:56:35 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -43,7 +43,6 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/mbuf.h>
|
||||
@ -54,14 +53,6 @@
|
||||
#include <sys/callout.h>
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#if defined (__FreeBSD_version) && __FreeBSD_version <= 400000
|
||||
#include <machine/random.h>
|
||||
#else
|
||||
#include <sys/random.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
@ -73,7 +64,6 @@
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
@ -63,7 +62,6 @@
|
||||
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
|
@ -43,7 +43,6 @@
|
||||
#if NI4BQ921 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
@ -63,12 +62,9 @@
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l1l2.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer2/i4b_l2.h>
|
||||
#include <i4b/layer2/i4b_l2fsm.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* routine ESTABLISH DATA LINK (Q.921 03/93 page 83)
|
||||
|
@ -43,11 +43,8 @@
|
||||
#if NI4BQ931 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -72,7 +69,6 @@
|
||||
#include <i4b/layer3/i4b_l3fsm.h>
|
||||
#include <i4b/layer3/i4b_q931.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
static unsigned char make_q931_cause(cause_t cause);
|
||||
|
||||
|
@ -43,11 +43,8 @@
|
||||
#if NI4BQ931 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -63,15 +60,12 @@
|
||||
#include <i4b/i4b_cause.h>
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer3/i4b_l3.h>
|
||||
#include <i4b/layer3/i4b_l3fsm.h>
|
||||
#include <i4b/layer3/i4b_q931.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
|
@ -46,8 +46,6 @@
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -62,16 +60,11 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer3/i4b_l3.h>
|
||||
#include <i4b/layer3/i4b_l3fsm.h>
|
||||
#include <i4b/layer3/i4b_q931.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
* stop all layer 3 timers
|
||||
|
@ -43,11 +43,8 @@
|
||||
#if NI4BQ931 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -63,15 +60,12 @@
|
||||
#include <i4b/i4b_cause.h>
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer3/i4b_l3.h>
|
||||
#include <i4b/layer3/i4b_l3fsm.h>
|
||||
#include <i4b/layer3/i4b_q931.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
|
@ -44,11 +44,8 @@
|
||||
#if NI4BQ931 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -65,9 +62,7 @@
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer3/i4b_l3.h>
|
||||
|
@ -43,11 +43,8 @@
|
||||
#if NI4BQ931 > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -61,17 +58,11 @@
|
||||
#include <i4b/i4b_ioctl.h>
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer3/i4b_l3.h>
|
||||
#include <i4b/layer3/i4b_l3fsm.h>
|
||||
#include <i4b/layer3/i4b_q931.h>
|
||||
#include <i4b/layer3/i4b_q932fac.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
static int do_component(int length);
|
||||
static void next_state(int class, int form, int code, int val);
|
||||
|
@ -60,8 +60,6 @@
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/select.h>
|
||||
#include <net/if.h>
|
||||
|
@ -43,12 +43,7 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#include <sys/types.h>
|
||||
@ -85,7 +80,6 @@
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/layer3/i4b_l3.h>
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
#if !defined(__FreeBSD__) && !defined(__NetBSD__)
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Fri Sep 1 16:06:44 2000]
|
||||
* last edit-date: [Fri Oct 13 15:58:34 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -40,24 +40,13 @@
|
||||
#if NI4B > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#if defined (__FreeBSD_version) && __FreeBSD_version <= 400000
|
||||
#include <machine/random.h>
|
||||
#else
|
||||
#include <sys/random.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <machine/i4b_debug.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
@ -66,10 +55,7 @@
|
||||
#include <i4b/i4b_ioctl.h>
|
||||
#endif
|
||||
|
||||
#include <i4b/include/i4b_l2l3.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
#include <i4b/include/i4b_isdnq931.h>
|
||||
#include <i4b/include/i4b_global.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
@ -42,9 +42,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
|
||||
#include <sys/callout.h>
|
||||
@ -60,7 +57,6 @@
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <i4b/include/i4b_l3l4.h>
|
||||
#include <i4b/include/i4b_mbuf.h>
|
||||
|
||||
#include <i4b/layer4/i4b_l4.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user