 |
Index for Section 9 |
|
 |
Alphabetical listing for V |
|
 |
Bottom of page |
|
vba_get_vmeaddr_am(9r)
NAME
vba_get_vmeaddr_am - VMEbus: Obtains the VMEbus address modifiers
SYNOPSIS
vme_atype_t vba_get_vmeaddr_am(
struct controller *ctlr,
io_handle_t csr_addr_handle );
ARGUMENTS
ctlr
Specifies a pointer to the VMEbus device's controller structure.
csr_addr_handle
Specifies the I/O handle returned in a previous call to vba_map_csr().
Note that the VMEbus configuration code calls the bus adapter-specific
map_csr() routine on the driver's behalf prior to calling the driver's
probe() routine. The bus configuration code converts the addresses
specified for the Csr1 and Csr2 fields of the driver's VBA_Option entry
in sysconfigtab, combined with information in driver structure members
addr1_size, addr1_atype, addr2_size, and addr2_atype, into appropriate
I/O handles.
DESCRIPTION
The vba_get_vmeaddr_am() routine obtains the VMEbus address modifiers for
the VMEbus address associated with the I/O handle you pass to the
csr_addr_handle argument. You obtained this handle in a previous call to
vba_map_csr(). These VMEbus address modifiers are associated with the valid
bits passed to the atype argument of the vba_map_csr() routine.
RETURN VALUES
Upon successful completion, vba_get_vmeaddr_am() returns a value of type
vme_atype_t. This return has the same definition as the atype argument in
the vba_map_csr() routine.
SEE ALSO
Kernel Routines: vba_map_csr(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for V |
|
 |
Top of page |
|