
SunOS 5.5 Devices smc(7D)
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 this stream or other streams.
The DL_PHYS_ADDR_REQ primitive returns the 6-octet Ethernet address currently asso-
ciated (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-octet Ethernet address currently
associated (attached) to this stream. The credentials of the process that originally opened
this stream must be superuser or EPERM is returned in the DL_ERROR_ACK. This primi-
tive 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 on this stream is successful. Once changed, all streams subsequently
opened and attached to this device will obtain this new physical address. Once changed,
the physical address will remain in effect until this primitive is used to change the physi-
cal address again or the system is rebooted, whichever comes first.
CONFIGURATION The smc.conf file supports the following options:
intr Specifies theIRQ (Interrupt Request) level for the board.
reg Specifies the sharedRAM the board is jumpered for.
It is important to ensure that there are no conflicts for the board’s I/O port, shared RAM,
or IRQ level.
FILES /dev/smc character special device
/kernel/drv/smc.conf smc configuration file.
SEE ALSO streamio(7I), dlpi(7P)
modified 14 Mar 1995 7D-291
Kommentare zu diesen Handbüchern