ENP

Section: Devices and Network Interfaces (4)
Updated: tahoe
Index Return to Main Contents

BSD mandoc
BSD 4.3t  

NAME

enp - CMC 10 Mb/s Ethernet interface  

SYNOPSIS

device enp0 at vba? csr 0xfff40000 vector enpintr  

DESCRIPTION

The enp interface provides access to a 10 Mb/s Ethernet network through a CMC ENP-20 controller.

The hardware has 128 kilobytes of dual-ported memory on the VERSAbus . This memory is used for internal buffering by the board, and the interface code reads the buffer contents directly through the VERSAbus The address of this memory is derived from the address specified in the configuration file.

Each of the host's network addresses is specified at boot time with an SIOCSIFADDR ioctl(2). The enp interface employs the address resolution protocol described in arp(4) 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. The use of trailers is negotiated with ARP This negotiation may be disabled, on a per-interface basis, by setting the IFF_NOTRAILERS flag with an SIOCSIFFLAGS ioctl.

Associated with each interface is a character device which is used to dowload, start, and reset the firmware in the controller. Reading or writing the ``ram device'' reads or writes the writable control store in the controller. Two ioctl(2) calls, ENPIOGO and ENPIORESET are used to start and reset the firmware.  

DIAGNOSTICS

enp%d: can't handle af%d.
The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped.

 

SEE ALSO

intro(4), inet(4), arp(4), enpload(8)  

HISTORY

The driver appeared in BSD 4.3 tahoe  

BUGS

The hardware is not capable of talking to itself. The software implements local sending and broadcast by sending such packets to the loop interface. This is a kludge.

The link level firmware does not support setting the board's Ethernet address.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO
HISTORY
BUGS

This document was created by man2html, using the manual pages.
Time: 06:48:25 GMT, May 19, 2025