1.\" $FreeBSD: head/share/man/man4/en.4 75670 2001-04-18 15:54:10Z ru $
| 1.\" $FreeBSD: head/share/man/man4/en.4 76175 2001-05-01 09:15:30Z schweikh $
|
2.\" 3.Dd December 29, 1997 4.Dt EN 4 i386 5.Os 6.Sh NAME 7.Nm en 8.Nd device driver for Midway-based ATM interfaces 9.Sh SYNOPSIS 10.Cd "device en"
| 2.\" 3.Dd December 29, 1997 4.Dt EN 4 i386 5.Os 6.Sh NAME 7.Nm en 8.Nd device driver for Midway-based ATM interfaces 9.Sh SYNOPSIS 10.Cd "device en"
|
11.Cd "pseudo-device atm"
| 11.Cd "device atm"
|
12.Sh DESCRIPTION
| 12.Sh DESCRIPTION
|
13The
| 13The
|
14.Nm 15device driver supports Midway-based ATM interfaces including the 16Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0. 17Midway is an ALL5 SAR (Segmentation and Reassenbly) chip. 18.Pp 19The driver only supports ATM PVCs. SVC or ATM-ARP is not supported. 20.Pp 21To configure the card for IP, use something like: 22.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up 23To add a PVC to a host you must use the ``route'' command: 24.Dl # route add -iface <remote IP address> -link en0:z.0.x.y 25where x and y are the byte encoding of the VCI to use, and z is the 26byte encoding of the following flags.
| 14.Nm 15device driver supports Midway-based ATM interfaces including the 16Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0. 17Midway is an ALL5 SAR (Segmentation and Reassenbly) chip. 18.Pp 19The driver only supports ATM PVCs. SVC or ATM-ARP is not supported. 20.Pp 21To configure the card for IP, use something like: 22.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up 23To add a PVC to a host you must use the ``route'' command: 24.Dl # route add -iface <remote IP address> -link en0:z.0.x.y 25where x and y are the byte encoding of the VCI to use, and z is the 26byte encoding of the following flags.
|
27.Dl 0x01 (use AAL5),
| 27.Dl 0x01 (use AAL5),
|
28.Dl 0x02 (if using AAL5, use a LLCSNAP header) 29Thus, parameter 3 means AAL5 and LLC/SNAP encapsulation. 30Note that BPF works only with LLC/SNAP encapsulation. 31.Sh EXAMPLES 32Suppose you have 2 hosts 128.252.200.1 and 128.252.200.2 connected
| 28.Dl 0x02 (if using AAL5, use a LLCSNAP header) 29Thus, parameter 3 means AAL5 and LLC/SNAP encapsulation. 30Note that BPF works only with LLC/SNAP encapsulation. 31.Sh EXAMPLES 32Suppose you have 2 hosts 128.252.200.1 and 128.252.200.2 connected
|
33by ATM through PVC # 201 (0xc9).
| 33by ATM through PVC # 201 (0xc9).
|
34To enable the link use the following commands: 35.Dl on host 128.252.200.1: 36.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up 37.Dl # route add -iface 128.252.200.2 -link en0:3.0.0.c9 38.Pp 39.Dl on host 128.252.200.2: 40.Dl # ifconfig en0 128.252.200.2 netmask 0xffffff00 up 41.Dl # route add -iface 128.252.200.1 -link en0:3.0.0.c9 42.Sh DIAGNOSTICS 43.Bd -literal 44en0 <Efficient Networks ENI-155p> rev 0 int a irq 5 on pci0:16 45en0: ATM midway v0, board IDs 6.0, Utopia (pipelined), 512KB on-board RAM 46en0: maximum DMA burst length = 64 bytes 47en0: 7 32KB receive buffers, 8 32KB transmit buffers allocated 48.Ed 49.Sh CAVEATS 50The driver extensively uses DMA on PCI. 51The first 52generation PCI chipsets do not work or exhibit poor performance. 53.Sh SEE ALSO
| 34To enable the link use the following commands: 35.Dl on host 128.252.200.1: 36.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up 37.Dl # route add -iface 128.252.200.2 -link en0:3.0.0.c9 38.Pp 39.Dl on host 128.252.200.2: 40.Dl # ifconfig en0 128.252.200.2 netmask 0xffffff00 up 41.Dl # route add -iface 128.252.200.1 -link en0:3.0.0.c9 42.Sh DIAGNOSTICS 43.Bd -literal 44en0 <Efficient Networks ENI-155p> rev 0 int a irq 5 on pci0:16 45en0: ATM midway v0, board IDs 6.0, Utopia (pipelined), 512KB on-board RAM 46en0: maximum DMA burst length = 64 bytes 47en0: 7 32KB receive buffers, 8 32KB transmit buffers allocated 48.Ed 49.Sh CAVEATS 50The driver extensively uses DMA on PCI. 51The first 52generation PCI chipsets do not work or exhibit poor performance. 53.Sh SEE ALSO
|
54.Xr ifconfig 8 , 55.Xr pvcsif 8 ,
| 54.Xr ifconfig 8 , 55.Xr pvcsif 8 ,
|
56.Xr pvctxctl 8 , 57.Xr route 8 58.Sh AUTHORS 59.An Chuck Cranor 60of Washington University implemented EN driver
| 56.Xr pvctxctl 8 , 57.Xr route 8 58.Sh AUTHORS 59.An Chuck Cranor 60of Washington University implemented EN driver
|
61in 1996 for
| 61in 1996 for
|
62.Nx .
| 62.Nx .
|