DLPI Programmer's Guide

Chapter 2 79
DLPI Primitives
Local Management Primitives
The message consists one M_PROTO message block containing the
structure shown below.
typedef struct {
ulong dl_primitive;
ulong dl_addr_type;
} dl_phys_addr_req_t;
Parameters
dl_primitive
DL_PHYS_ADDR_REQ
dl_addr_type
type of address requested - factory physical address or current
physical address
DL_FACT_PHYS_ADDR
DL_CURR_PHYS_ADDR
State
The message is valid in any attached state in which a local
acknowledgement is not pending. For a style 2 provider, this would be
after a PPA is attached using the DL_ATTACH_REQ. For a style 1
provider, the PPA is implicitly attached after the stream is opened.
New State
The resulting state is unchanged.
Response
The provider responds to the request with a DL_PHYS_ADDR_ACK if
the request is supported. Otherwise, a DL_ERROR_ACK is returned.
Reasons for Failure
DL_NOTSUPPORTED
The primitive is known, but not supported by the DLS provider.
DL_OUTSTATE
The primitive was issued from an invalid state.