
qe(7D) Devices SunOS 5.5
NAME qe − QEC/MACE Ethernet device driver
SYNOPSIS #include <mace.h>
#include <qe.h>
#include <qec.h>
#include <dlpi.h>
DESCRIPTION qe is a multi-threaded, loadable, clonable, STREAMS hardware device driver supporting
the connectionless Data Link Provider Interface, dlpi(7P), over Am79C940 (MACE) Eth-
ernet controllers in the SBus QED card. qec(7D) is its parent in the Open Boot Prom dev-
ice tree. There is no fixed limitation on the number of QED cards supported by the
driver. The qe driver provides basic support for the MACE and QEC hardware. Func-
tions include chip initialization,frame transmit and receive, multicast and promiscuous
support, and error recovery and reporting.
The cloning character-special device /dev/qe is used to access all MACE controllers
installed within the system.
qe and DLPI The qe driver is a “style 2” Data Link Service provider. All M_PROTO and M_PCPROTO
type msgs are interpreted as DLPI primitives. An explicitDL_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 unsigned long and indicates the corresponding device
instance (unit) number. An error (DL_ERROR_ACK) is returned by the driver if the ppa
field value does not correspond to a valid device instance number for this system. 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 max SDU is 1500 (ETHERMTU).
The min SDU is 0.
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 theDLSAP address.
The service mode is DL_CLDLS.
No optional quality of service (QOS) support is included at present so the
QOS fields are 0.
The provider style isDL_STYLE2.
The version isDL_VERSION_2.
The broadcast address value is Ethernet/IEEE broadcast address (0xFFFFFF).
7D-270 modified 3 Mar 1994
Comentários a estes Manuais