Technical data
SunOS 5.5 Devices eepro(7D)
The DL_PROMISCON_REQ andDL_PROMISCOFF_REQ primitives with the
DL_PROMISC_PHYS flag set in the dl_level field enables/disablesreception of all “prom-
iscuous mode” frames on the media including frames generated by the local host.
When used with the DL_PROMISC_SAP flag set, this enables/disablesreception of all sap
(Ethernet type) values. When used with the DL_PROMISC_MULTI flag set, this
enables/disables reception of all multicast group addresses. The effect of each is always
on a per-stream basis and independent of the other sap and physical level configurations
on the stream or other streams.
The DL_PHYS_ADDR_REQ primitive returns the 6-byte Ethernet address currently associ-
ated (attached) to the stream in theDL_PHYS_ADDR_ACK primitive. This primitive is
valid only in states following a successful DL_ATTACH_REQ.
The DL_SET_PHYS_ADDR_REQ primitive changesthe 6-byte Ethernet address currently
associated (attached) to this stream. The credentials of the process which originally
opened this stream must be superuser or anEPERM error is returned in the
DL_ERROR_ACK. This primitive is destructive in that it affects all other current and
future streams attached to this device. An M_ERROR message is sent up all other streams
attached to this device when this primitive is successful on this stream. Once changed, all
streams subsequently opened and attached to this device will obtain this new physical
address. The new physical address will remain in effect until this primitive is used to
change the physical address again or the system is rebooted, whichever comes first.
IOCTLS The following ioctl request is supported:
TDR_TEST Performs the time domain reflectometry test. This test checks for net-
work faults. The argument should be NULL. The values returned are
interpreted as follows:
0x8000 No network fault was detected. The transmission link
that is connected to the network controller is function-
ing properly.
0x2000 The transmission line connected to the hardware con-
troller is open (i.e. The linehas not been properly ter-
minated).
0x1000 A short exists on the transmission line.
This ioctl request is defined in <sys/eepro.h>.
CONFIGURATION The eepro.conf file supports the following options:
intr Specifies theIRQ level for the board (see sysbus(4)).
Auto-detect of the media type is supported and the board need not be explicitly
configured for which media connector it is using. It is important to ensure that there are
no conflicts between the board’s I/O port or IRQ level and other hardware installed in the
system.
modified 15 Oct 1994 7D-91










