DragonFly On-Line Manual Pages


EN(4)		    DragonFly/i386 Kernel Interfaces Manual		 EN(4)

NAME

en -- device driver for Midway-based ATM interfaces

SYNOPSIS

device en pseudo-device atm

DESCRIPTION

The en device driver supports Midway-based ATM interfaces including the Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0. Midway is an ALL5 SAR (Segmentation and Reassembly) chip. The driver only supports ATM PVCs. SVC or ATM-ARP is not supported. To configure the card for IP, use something like: # ifconfig en0 128.252.200.1 netmask 0xffffff00 up To add a PVC to a host you must use the ``route'' command: # route add -iface <remote IP address> -link en0:z.0.x.y where x and y are the byte encoding of the VCI to use, and z is the byte encoding of the following flags. 0x01 (use AAL5), 0x02 (if using AAL5, use a LLCSNAP header) Thus, parameter 3 means AAL5 and LLC/SNAP encapsulation. Note that BPF works only with LLC/SNAP encapsulation.

EXAMPLES

Suppose you have 2 hosts 128.252.200.1 and 128.252.200.2 connected by ATM through PVC # 201 (0xc9). To enable the link use the following commands: on host 128.252.200.1: # ifconfig en0 128.252.200.1 netmask 0xffffff00 up # route add -iface 128.252.200.2 -link en0:3.0.0.c9 on host 128.252.200.2: # ifconfig en0 128.252.200.2 netmask 0xffffff00 up # route add -iface 128.252.200.1 -link en0:3.0.0.c9

DIAGNOSTICS

en0 <Efficient Networks ENI-155p> rev 0 int a irq 5 on pci0:16 en0: ATM midway v0, board IDs 6.0, Utopia (pipelined), 512KB on-board RAM en0: maximum DMA burst length = 64 bytes en0: 7 32KB receive buffers, 8 32KB transmit buffers allocated

CAVEATS

The driver extensively uses DMA on PCI. The first generation PCI chipsets do not work or exhibit poor performance.

SEE ALSO

ifconfig(8), route(8)

AUTHORS

Chuck Cranor of Washington University implemented EN driver in 1996 for NetBSD. DragonFly 3.7 December 29, 1997 DragonFly 3.7