1.\" $NetBSD: de.4,v 1.9 2002/01/15 02:06:30 wiz Exp $ 2.\" 3.\" Copyright (c) 1986, 1991, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by the University of 17.\" California, Berkeley and its contributors. 18.\" 4. Neither the name of the University nor the names of its contributors 19.\" may be used to endorse or promote products derived from this software 20.\" without specific prior written permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32.\" SUCH DAMAGE. 33.\" 34.\" from: @(#)de.4 8.1 (Berkeley) 6/5/93 35.\" 36.Dd June 5, 1993 37.Dt DE 4 vax 38.Os 39.Sh NAME 40.Nm de 41.Nd 42.Tn DEC DEUNA 4310 Mb/s Ethernet interface 44.Sh SYNOPSIS 45.Cd "de0 at uba0 csr 174510 vector deintr" 46.Sh DESCRIPTION 47The 48.Nm de 49interface provides access to a 10 Mb/s Ethernet network through 50a Digital Equipment 51.Tn UNIBUS 52Network Adapter 53.Pq Tn DEUNA . 54.Pp 55Each of the host's network addresses 56is specified at boot time with an 57.Dv SIOCSIFADDR 58.Xr ioctl 2 . 59The 60.Nm de 61interface employs the address resolution protocol described in 62.Xr arp 4 63to dynamically map between Internet and Ethernet addresses on the local 64network. 65.Pp 66The interface normally tries to use a 67.Dq trailer 68encapsulation 69to minimize copying data on input and output. 70The use of trailers is negotiated with 71.Tn ARP . 72This negotiation may be disabled, on a per-interface basis, 73by setting the 74.Dv IFF_NOTRAILERS 75flag with an 76.Dv SIOCSIFFLAGS 77.Xr ioctl 2 . 78.Sh DIAGNOSTICS 79.Bl -diag 80.It de%d: hardware address %s. 81This is a normal autoconfiguration message noting the 6 byte physical 82Ethernet address of the adapter. 83.Pp 84.It de%d: oerror, flags=%b tdrerr=%b (len=%d). 85The hardware indicated an error 86in transmitting a packet to the cable. 87The status and error flags are reported. 88.Pp 89.It de%d: ierror, flags=%b lenerr=%b (len=%d). 90The hardware indicated an error 91in reading a packet from the cable. 92The status and error flags are reported. 93.Pp 94.It de%d: can't handle af%d. 95The interface was handed 96a message with addresses formatted in an unsuitable address 97family; the packet was dropped. 98.Pp 99.It de%d: buffer unavailable. 100The interface received more packets 101than it had buffers allocated to receive them. 102.Pp 103.It de%d: address change failed, csr0=%b csr1=%b. 104The interface was unable to reprogram 105its physical Ethernet address. 106This may happen with very early models of the interface. 107This facility is used only when 108the controller is not the first network interface configured for 109.Tn XNS . 110.El 111.Pp 112The following messages indicate a probable hardware error performing 113the indicated operation during autoconfiguration or initialization. 114The two control and status registers 115should indicate the nature of the failure. 116See the hardware manual for details. 117.Pp 118.Bl -diag 119.It de%d: reset failed, csr0=%b csr1=%b. 120.It de%d: ppcb failed, csr0=%b csr1=%b. 121.It de%d: read addr failed, csr0=%b csr1=%b. 122.It de%d: wtring failed, csr0=%b csr1=%b. 123.It de%d: wtmode failed, csr0=%b csr1=%b. 124.El 125.Sh SEE ALSO 126.Xr arp 4 , 127.Xr inet 4 , 128.Xr netintro 4 129.Sh HISTORY 130The 131.Nm 132driver appeared in 133.Bx 4.3 . 134