de(4) — VAX
Name
de − DEUNA/DELUA Ethernet interface
Syntax
device de0 at uba0 csr 0174510 vector deintr
Description
The de interface provides access to a 10 Mb/s Ethernet network through a DEUNA/DELUA controller.
The host’s Internet address is specified at boot time with an SIOCSIFADDR ioctl. The de interface employs the address resolution protocol described in arp() to dynamically map between Internet and Ethernet addresses on the local network.
The interface normally tries to use a “trailer” encapsulation to minimize copying data on input and output. This can be disabled for an interface by setting the IFF_NOTRAILERS flag with an SIOCSIFFLAGS ioctl. Trailers are only used for packets destined for Internet hosts.
The SIOCSPHYSADDR ioctl can be used to change and SIOCRPHYSADDR can be used to read the physical address of the board.
SIOCADDMULTI and SIOCDELMULTI can be used to add or delete multicast addresses. The board recognizes, at most, 10 multicast addresses. The argument to these ioctls is a pointer to an ifreq structure found in <net/if.h>.
SIOCRDCTRS and SIOCRDZCTRS ioctls can be used to read or “read and clear” the board counters. The argument to these two ioctls is a pointer to a counter structure “ctrreq” found in <net/if.h>.
The ioctls SIOCENABLBACK and SIOCDISABLBACK can be used to enable and disable the interface loopback mode.
Restrictions
The PUP protocol family is not supported.
Diagnostics
de%d: command failed, csr0=%b csr1=%b
Here, command is one of reset, pcbb, rdphyad, wtring, or wtmode. This message is printed if there is an error on device initialization. The following command failures can occur during ioctl requests:
wtphyadd
An attempt to change the physical address failed.
rdphyadd
An attempt to read the physical address failed.
wtmulti
An attempt to add a new multicast address failed.
mtmulti failed, multicast list full
An attempt to add a new multicast address failed because the maximum number of multicast addresses has been reached.
rdcnts
An attempt to read the board counters failed.
The following messages occur while transmitting or receiving packets:
de%d: buffer unavailable
Packets are being received by the interface faster than they can be serviced by the driver.
de%d: can’t handle af%d
The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped.