vme_ivec_alloc(D3X)

vme_ivec_alloc - allocate a VME bus interrupt VECTOR

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     vme_ivec_alloc - allocate a VME bus interrupt VECTOR

SYNOPSIS
     #include <sys/types.h>
     #include <sys/ddi.h>

     int vme_ivec_alloc(uint_t adapter);

   Arguments
     adapter
          The adapter number identifying which VME bus on the system.

DESCRIPTION
     For Challenge and Onyx systems, vme_ivec_alloc dynamically allocates an
     interrupt vector for the specified VME bus. With vme_ivec_set(D3X), a
     driver can allocate and register more than one VME interrupt vector for a
     single board. vme_ivec_alloc(D3X) and vme_ivec_set(D3X) are used in
     edtinit() routines.

   Return Values
     vme_ivec_alloc returns -1 if no vectors remain or the adapter specified
     is invalid.

   See Also
     vme_ivec_set(D3X), vme_ivec_free(D3X)
     vmeio(D3) for Origin and Onyx2 VME option