Deleted Added
full compact
en.4 (116294) en.4 (116296)
1.\" $FreeBSD: head/share/man/man4/en.4 116294 2003-06-13 12:08:09Z harti $
1.\" $FreeBSD: head/share/man/man4/en.4 116296 2003-06-13 12:33:33Z harti $
2.\"
3.Dd June 3, 2003
4.Dt EN 4
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 "device atm"
12.Cd "device utopia"
13.Sh DESCRIPTION
14The
15.Nm
16device driver supports Midway-based ATM interfaces including the
17Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0.
18Midway is an AAL5 SAR (Segmentation and Reassembly) chip.
19.Pp
2.\"
3.Dd June 3, 2003
4.Dt EN 4
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 "device atm"
12.Cd "device utopia"
13.Sh DESCRIPTION
14The
15.Nm
16device driver supports Midway-based ATM interfaces including the
17Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0.
18Midway is an AAL5 SAR (Segmentation and Reassembly) chip.
19.Pp
20The driver only supports ATM PVCs. SVC or ATM-ARP is not supported.
20For configuring the card for IP see
21.Xr natm 4 .
21.Pp
22.Pp
22To configure the card for IP, use something like:
23.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up
24To add a PVC to a host you must use the ``route'' command:
25.Dl # route add -iface <remote IP address> -link en0:z.0.x.y
26where x and y are the byte encoding of the VCI to use, and z is the
27byte encoding of the following flags.
28.Dl 0x01 (use AAL5),
29.Dl 0x02 (if using AAL5, use a LLCSNAP header)
30Thus, parameter 3 means AAL5 and LLC/SNAP encapsulation.
31Note that BPF works only with LLC/SNAP encapsulation.
32.Pp
33The device driver uses the
34.Xr utopia 4
35module for communication with the physical and ATM layer chip (SUNI/Lite).
36.Pp
37The following sysctls are recognized by the driver besides those implemented by
23The following sysctls are recognized by the driver additionally to those
24handled by
38.Xr utopia 4 :
39.Bl -tag -width XXX
40.It Cm hw.atm.enX.istats
41Contains an array of
42.Vt uint32_t
43with internal driver statistics.
44.It Cm hw.atm.enX.debug
45This is a bit map of debugging options.
46This variable is only available when the driver is compiled with debugging
47support.
25.Xr utopia 4 :
26.Bl -tag -width XXX
27.It Cm hw.atm.enX.istats
28Contains an array of
29.Vt uint32_t
30with internal driver statistics.
31.It Cm hw.atm.enX.debug
32This is a bit map of debugging options.
33This variable is only available when the driver is compiled with debugging
34support.
48.EL
49.Sh EXAMPLES
50Suppose you have 2 hosts 128.252.200.1 and 128.252.200.2 connected
51by ATM through PVC # 201 (0xc9).
52To enable the link use the following commands:
53.Dl on host 128.252.200.1:
54.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up
55.Dl # route add -iface 128.252.200.2 -link en0:3.0.0.c9
35.El
56.Pp
36.Pp
57.Dl on host 128.252.200.2:
58.Dl # ifconfig en0 128.252.200.2 netmask 0xffffff00 up
59.Dl # route add -iface 128.252.200.1 -link en0:3.0.0.c9
37The driver supports the media options
38.Ar sdh ,
39.Ar noscramb
40and
41.Ar unassigned
42(see
43.Xr utopia 4 ).
60.Sh DIAGNOSTICS
61.Bd -literal
62en0 <Efficient Networks ENI-155p> rev 0 int a irq 5 on pci0:16
63en0: ATM midway v0, board IDs 6.0, Utopia (pipelined), 512KB on-board RAM
64en0: maximum DMA burst length = 64 bytes
65en0: 7 32KB receive buffers, 8 32KB transmit buffers allocated
66.Ed
67.Sh CAVEATS
68The driver extensively uses DMA on PCI.
69The first
70generation PCI chipsets do not work or exhibit poor performance.
71.Sh SEE ALSO
44.Sh DIAGNOSTICS
45.Bd -literal
46en0 <Efficient Networks ENI-155p> rev 0 int a irq 5 on pci0:16
47en0: ATM midway v0, board IDs 6.0, Utopia (pipelined), 512KB on-board RAM
48en0: maximum DMA burst length = 64 bytes
49en0: 7 32KB receive buffers, 8 32KB transmit buffers allocated
50.Ed
51.Sh CAVEATS
52The driver extensively uses DMA on PCI.
53The first
54generation PCI chipsets do not work or exhibit poor performance.
55.Sh SEE ALSO
56.Xr natm 4 ,
57.Xr natmip 4 ,
72.Xr utopia 4 ,
73.Xr ifconfig 8 ,
74.Xr route 8
75.Sh AUTHORS
76.An Chuck Cranor
77of Washington University implemented EN driver
78in 1996 for
79.Nx .
58.Xr utopia 4 ,
59.Xr ifconfig 8 ,
60.Xr route 8
61.Sh AUTHORS
62.An Chuck Cranor
63of Washington University implemented EN driver
64in 1996 for
65.Nx .