 |
Index for Section 9 |
|
 |
Alphabetical listing for V |
|
 |
Bottom of page |
|
vba_get_vmeaddr(9r)
NAME
vba_get_vmeaddr - VMEbus: Obtains a VMEbus address
SYNOPSIS
vme_addr_t vba_get_vmeaddr(
struct controller *ctlr,
io_handle_t csr_addr_handle );
ARGUMENTS
ctlr
Specifies a pointer to the VMEbus device's controller data structure.
csr_addr_handle
Specifies the I/O handle returned in a previous call to vba_map_csr().
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 data structure
members addr1_size, addr1_atype, addr2_size, and addr2_atype, into
appropriate I/O handles.
DESCRIPTION
The vba_get_vmeaddr() routine returns the VMEbus address associated with
the specified I/O handle.
NOTES
The use of the io_handle_t data type for the address applies to Version 4.0
or higher of the operating system. Previous versions of this routine used
a data type of u_long.
You can call the vba_get_vmeaddr_am() routine to obtain the following
information associated with the returned address: the VMEbus address space,
access type, data transfer size, and swap mode.
RETURN VALUES
Upon successful completion, the vba_get_vmeaddr() routine returns the
vme_addr_t address corresponding to the I/O handle passed to the
csr_addr_handle argument.
SEE ALSO
Kernel Routines: probe(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for V |
|
 |
Top of page |
|