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