Specifications
System Macros Invoked by Drivers
ADPDISP
ADPDISP
Causes a branch to a specified address given the existence of a selected adapter
characteristic.
Format
ADPDISP select ,addrlist [,adpaddr] [,crbaddr] [,ucbaddr] [,ecrbaddr] [,scratch=R0]
Parameters
select
Determines which ADP field or bit field is the basis for dispatching and, by
implication, which adapter characteristic. See the Description section that follows
for a list of legal values for select.
addrlist
A list containing one or more pairs of arguments in the following format:
<flag, destination>
The values the ADPDISP macro accepts for the flag argument depend on the
adapter characteristic specified in select and are listed in the Description section
that follows. The destination argument contains the address to which the code
generated by the invocation of ADPDISP passes control if the specified flag is set.
[adpaddr]
Register containing the address of the adapter control block. If adpaddr is not
specified, one of the following address fields must be specified.
[crbaddr]
Register containing the address of the channel request block.
[ucbaddr]
Register containing the address of the unit control block.
[ecrbaddr]
Register containing the address of the Ethernet controller data block (ECRB).
[scratch=R0]
Register, destroyed in macro invocation, used in computing the ADP address if
adpaddr is not specified.
Description
ADPDISP dispatches upon the possible adapter characteristics listed in
Table 2–1.
2–2