Index Index for
Section 9
Index Alphabetical
listing for V
Bottom of page Bottom of
page

vba_unmap_csr(9r)

NAME

vba_unmap_csr - VMEbus: Unmaps a VMEbus address CSR area

SYNOPSIS

void vba_unmap_csr( 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 that identifies the CSR area mapped in a previous call to vba_map_csr(). Because you can multiply map VMEbus addresses, the specification of the VMEbus address and the atype is ambiguous. The context associated with each allocated I/O handle includes the atype and length of the allocation. The vba_map_csr() routine saves this context and vba_unmap_csr() deletes this context.

DESCRIPTION

The vba_unmap_csr() routine unmaps the VMEbus address specified in the csr_addr_handle argument. This frees up the resources (for example, one or more outbound mapping registers) that were mapped in a previous call to vba_map_csr().

RETURN VALUES

None

EXAMPLE

The following code fragment shows how vba_unmap_csr() releases resources obtained in a previous call to vba_map_csr(): . . . vba_unmap_csr(ctlr, (io_handle_t)ctlr->addr); . . .

SEE ALSO

Kernel Routines: vba_map_csr(9r)

Index Index for
Section 9
Index Alphabetical
listing for V
Top of page Top of
page