Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>

Reviewed by: <wollman>
First hooks and defines for the ISDN driver,
that soon will see the light ...
This commit is contained in:
Stefan Eßer 1995-01-05 19:51:51 +00:00
parent ff2e6a8b6f
commit 623976474c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5413
5 changed files with 20 additions and 7 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.97 1994/12/11 03:11:23 davidg Exp $
* $Id: machdep.c,v 1.98 1994/12/11 03:33:58 davidg Exp $
*/
#include "npx.h"
@ -217,6 +217,9 @@ cpu_startup()
#ifdef CCITT
DONET(ccittintr, NETISR_CCITT);
#endif
#ifdef ISDN
DONET(isdnintr, NETISR_ISDN);
#endif
#undef DONET
/*

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.97 1994/12/11 03:11:23 davidg Exp $
* $Id: machdep.c,v 1.98 1994/12/11 03:33:58 davidg Exp $
*/
#include "npx.h"
@ -217,6 +217,9 @@ cpu_startup()
#ifdef CCITT
DONET(ccittintr, NETISR_CCITT);
#endif
#ifdef ISDN
DONET(isdnintr, NETISR_ISDN);
#endif
#undef DONET
/*

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_domain.c 8.2 (Berkeley) 10/18/93
* $Id$
* $Id: uipc_domain.c,v 1.3 1994/08/02 07:43:00 davidg Exp $
*/
#include <sys/param.h>
@ -77,6 +77,9 @@ domaininit()
#ifdef CCITT
ADDDOMAIN(ccitt);
#endif
#ifdef ISDN
ADDDOMAIN(isdn);
#endif
#include "imp.h"
#if NIMP > 0
ADDDOMAIN(imp);

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)netisr.h 8.1 (Berkeley) 6/10/93
* $Id: netisr.h,v 1.3 1994/08/02 07:46:27 davidg Exp $
* $Id: netisr.h,v 1.4 1994/08/21 05:11:44 paul Exp $
*/
#ifndef _NET_NETISR_H_
@ -62,6 +62,7 @@
#define NETISR_ISO 7 /* same as AF_ISO */
#define NETISR_CCITT 10 /* same as AF_CCITT */
#define NETISR_ARP 18 /* same as AF_LINK */
#define NETISR_ISDN 26 /* same as AF_E164 */
#define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); }

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)socket.h 8.4 (Berkeley) 2/21/94
* $Id: socket.h,v 1.3 1994/10/02 17:24:56 phk Exp $
* $Id: socket.h,v 1.4 1994/10/08 22:22:59 phk Exp $
*/
#ifndef _SYS_SOCKET_H_
@ -119,9 +119,11 @@ struct linger {
#define pseudo_AF_RTIP 22 /* Help Identify RTIP packets */
#define AF_IPX 23 /* Novell Internet Protocol */
#define AF_SIP 24 /* Simple Internet Protocol */
#define pseudo_AF_PIP 25 /* Help Identify PIP packets */
#define pseudo_AF_PIP 25 /* Help Identify PIP packets */
#define AF_ISDN 26 /* Integrated Services Digital Network*/
#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */
#define AF_MAX 26
#define AF_MAX 27
/*
* Structure used by kernel to store most
@ -173,6 +175,7 @@ struct sockproto {
#define PF_IPX AF_IPX /* same format as AF_NS */
#define PF_RTIP pseudo_AF_FTIP /* same format as AF_INET */
#define PF_PIP pseudo_AF_PIP
#define PF_ISDN AF_ISDN
#define PF_MAX AF_MAX