Technical data

smce(7D) Devices SunOS 5.5
NAME smce SMC 3032/EISA dual-channel Ethernet device driver
SYNOPSIS #include <sys/stropts.h>
#include <sys/ethernet.h>
#include <sys/dlpi.h>
AVAILABILITY x86
DESCRIPTION The smce Ethernet driver is a multi-threaded, loadable, clonable,STREAMS hardware
driver supporting the connectionless Data Link Provider Interface, dlpi(7P), over the
SMC 3032/EISA dual-channel Ethernetcontrollers. Each dual-channel 3032/EISA con-
troller can support two subnetworks. Multiple 3032/EISA controllers installed within the
system are supported by the driver. The smce driver provides basic support for the
3032/EISA hardware. Functions include chip initialization, frame transmit and receive,
multicast and “promiscuous” support, and error recovery and reporting on both chan-
nels.
APPLICATION
PROGRAMMING
INTERFACE
The cloning, character-special device /dev/smce is used to access all 3032/EISA devices
installed within the system.
The smce driver is a “style 2” Data Link Service provider. All M_PROTO and
M_PCPROTO type messages are interpreted as DLPI primitives. An explicit
DL_ATTACH_REQ message by the user is required to associate the opened stream with a
particular device (ppa). The ppa ID is interpreted as an unsignedlong integer and indi-
cates the corresponding device instance (unit) number. The unit numbers are assigned
sequentially to each board found. For the dual-channel 3032/EISA controller, a pair of
ppa IDs is associated with each controller. The lower (even) numbered ppa corresponds
to port A of the controller while the higher(odd) numbered ppa corresponds to port B.
The search order is determined by the order defined in the /kernel/drv/smce.conf file. If
the ppa field value does not correspond to a valid device instance number for this sys-
tem, the driver will return an error (DL_ERROR_ACK). The device is initialized on first
attach and de-initialized (stopped) on last detach.
The values returned by the driver in theDL_INFO_ACK primitive in response to the
DL_INFO_REQ from the user are as follows:
The maximum SDU is 1500 (ETHERMTU).
The minimum SDU is 0. The driver will pad to the mandatory 60-octet
minimum packet size.
The dlsap address length is 8.
The MAC type isDL_ETHER.
The sap length value is 2, meaning the physical address component is fol-
lowed immediately by a 2-byte sap component within the DLSAP address.
The service mode is DL_CLDLS.
No optional quality of service (QOS) support is included at present, so the
7D-292 modified 2 May 1995