1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

merge ATM driver

This commit is contained in:
Kenjiro Cho 1997-05-09 12:19:06 +00:00
parent 1ea7e0c9e3
commit 68713f97a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25609
7 changed files with 80 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.330 1997/05/04 15:24:19 joerg Exp $
# $Id: LINT,v 1.331 1997/05/06 18:24:17 fsmp Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -873,6 +873,25 @@ options LINT_PCCARD_HACK
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
#
# ATM related options
#
# The `en' device provides support for Efficient Networks (ENI)
# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
#
# atm pseudo-device privides generic atm functions and is required for
# atm devices.
# NETNATM enables the netnatm protocol family that can be used to
# bypass TCP/IP.
#
# the current driver supports only PVC operations (no atm-arp, no multicast).
# for more details, please read the original documents at
# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html
#
pseudo-device atm
device en0
device en1
options NETNATM #native ATM
#
# Audio drivers: `snd', `sb', `pas', `gus', `pca'

View File

@ -16,6 +16,7 @@ ddb/db_variables.c optional ddb
ddb/db_watch.c optional ddb
ddb/db_write_cmd.c optional ddb
dev/ccd/ccd.c optional ccd device-driver
dev/en/midway.c optional en device-driver
dev/pdq/pdq.c optional fea device-driver
dev/pdq/pdq_ifsubr.c optional fea device-driver
dev/pdq/pdq.c optional fpa device-driver
@ -159,6 +160,7 @@ net/bpf.c optional bpfilter
net/bpf_filter.c optional bpfilter
net/bsd_comp.c optional ppp
net/if.c standard
net/if_atmsubr.c optional atm
net/if_disc.c optional disc
net/if_ethersubr.c optional ether
net/if_fddisubr.c optional fddi
@ -207,6 +209,7 @@ netatalk/ddp_usrreq.c optional netatalk
#netimp/if_imp.c optional imp
#netimp/if_imphost.c optional imp
#netimp/raw_imp.c optional imp
netinet/if_atm.c optional atm
netinet/if_ether.c optional ether
netinet/igmp.c optional inet
netinet/in.c optional inet
@ -294,6 +297,9 @@ netipx/spx_usrreq.c optional ipx
#netiso/tuba_table.c optional iso tuba
#netiso/tuba_usrreq.c optional iso tuba
netkey/key.c optional key
netnatm/natm.c optional natm
netnatm/natm_pcb.c optional natm
netnatm/natm_proto.c optional natm
#netns/idp_usrreq.c optional ns
#netns/ns.c optional ns
#netns/ns_error.c optional ns
@ -323,6 +329,7 @@ pci/bt9xx.c optional bt device-driver
pci/cy_pci.c optional cy device-driver
pci/if_de.c optional de device-driver
pci/if_ed_p.c optional ed device-driver
pci/if_en_pci.c optional en device-driver
pci/if_fxp.c optional fxp device-driver
pci/if_lnc_p.c optional lnc device-driver
pci/if_fpa.c optional fpa device-driver

View File

@ -8,6 +8,7 @@ define tty
# net device attributes - we have generic code for ether.
# we should have imp but right now it is a pseudo-device.
define atm
define ether
# define imp
pseudo-device imp
@ -121,6 +122,7 @@ file miscfs/union/union_vnops.c union
file net/bpf.c bpfilter needs-count
file net/bpf_filter.c bpfilter needs-count
file net/if.c
file net/if_atmsubr.c atm needs-flag
file net/if_ethersubr.c ether needs-flag
file net/if_loop.c loop needs-count
file net/if_sl.c sl needs-count
@ -152,6 +154,7 @@ file netccitt/pk_usrreq.c ccitt
file netimp/if_imp.c imp needs-count
file netimp/if_imphost.c imp needs-count
file netimp/raw_imp.c imp
file netinet/if_atm.c atm
file netinet/if_ether.c ether
file netinet/igmp.c inet
file netinet/in.c inet
@ -210,6 +213,9 @@ file netiso/tp_usrreq.c iso tpip
file netiso/tuba_subr.c iso tuba
file netiso/tuba_table.c iso tuba
file netiso/tuba_usrreq.c iso tuba
file netnatm/natm.c natm
file netnatm/natm_pcb.c natm
file netnatm/natm_proto.c natm
file netns/idp_usrreq.c ns
file netns/ns.c ns
file netns/ns_error.c ns

View File

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.330 1997/05/04 15:24:19 joerg Exp $
# $Id: LINT,v 1.331 1997/05/06 18:24:17 fsmp Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -873,6 +873,25 @@ options LINT_PCCARD_HACK
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
#
# ATM related options
#
# The `en' device provides support for Efficient Networks (ENI)
# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
#
# atm pseudo-device privides generic atm functions and is required for
# atm devices.
# NETNATM enables the netnatm protocol family that can be used to
# bypass TCP/IP.
#
# the current driver supports only PVC operations (no atm-arp, no multicast).
# for more details, please read the original documents at
# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html
#
pseudo-device atm
device en0
device en1
options NETNATM #native ATM
#
# Audio drivers: `snd', `sb', `pas', `gus', `pca'

View File

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.330 1997/05/04 15:24:19 joerg Exp $
# $Id: LINT,v 1.331 1997/05/06 18:24:17 fsmp Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -873,6 +873,25 @@ options LINT_PCCARD_HACK
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
#
# ATM related options
#
# The `en' device provides support for Efficient Networks (ENI)
# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
#
# atm pseudo-device privides generic atm functions and is required for
# atm devices.
# NETNATM enables the netnatm protocol family that can be used to
# bypass TCP/IP.
#
# the current driver supports only PVC operations (no atm-arp, no multicast).
# for more details, please read the original documents at
# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html
#
pseudo-device atm
device en0
device en1
options NETNATM #native ATM
#
# Audio drivers: `snd', `sb', `pas', `gus', `pca'

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)netisr.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: netisr.h,v 1.11 1997/02/22 09:41:10 peter Exp $
*/
#ifndef _NET_NETISR_H_
@ -66,6 +66,7 @@
#define NETISR_IPX 23 /* same as AF_IPX */
#define NETISR_ISDN 26 /* same as AF_E164 */
#define NETISR_PPP 27 /* PPP soft interrupt */
#define NETISR_NATM 29 /* same as AF_NATM */
#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.18 1997/03/21 16:11:57 wpaul Exp $
* $Id: socket.h,v 1.19 1997/04/30 15:32:52 wollman Exp $
*/
#ifndef _SYS_SOCKET_H_
@ -126,8 +126,9 @@ struct linger {
#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */
#define pseudo_AF_KEY 27 /* Internal key-management function */
#define AF_INET6 28 /* IPv6 */
#define AF_NATM 29 /* native ATM access */
#define AF_MAX 29
#define AF_MAX 30
/*
* Structure used by kernel to store most
@ -182,6 +183,7 @@ struct sockproto {
#define PF_ISDN AF_ISDN
#define PF_KEY pseudo_AF_KEY
#define PF_INET6 AF_INET6
#define PF_NATM AF_NATM
#define PF_MAX AF_MAX
@ -224,6 +226,7 @@ struct sockproto {
{ "pip", CTLTYPE_NODE }, \
{ "isdn", CTLTYPE_NODE }, \
{ "key", CTLTYPE_NODE }, \
{ "natm", CTLTYPE_NODE }, \
}
/*