DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

pci_get_irq_routing_options(D3hpci)


pci_get_irq_routing_options -- identify IRQs currently assigned to PCI devices

Synopsis

   #include <sys/types.h>
   #include <sys/hpci.h>
   #include <sys/hpci_bios.h>
   #include <sys/ddi.h>
   

int pci_get_irq_routing_options(rm_key_t hpci, ushort_t *sz, struct pci_irqrouting_entry *p, ushort_t *bitmap);

Description

pci_get_irq_routing_options( ) fills in an array of pci_irqrouting_entry(D4hpci) data structures that show the assignment of interrupts to PCI devices. The pci_irqrouting_entry structure is defined in the PCI 2.1 specification.

Arguments


hpci
resource manager key for this instance of the hot plug controller.

sz
size, in byes, of the data space allocated by the driver and pointed to by the p argument.

p
pointer to the array that contains the pci_irqrouting_entry data structures. If p is set to NULL, pci_get_irq_routing_options( ) returns the sz argument filled with the amount of space needed for the operating system to pass back the IRQ routing information.

bitmap
pointer to the bitmap that will be populated with the IRQ bitmap that is returned by the PCI BIOS calls.

Return values

This function returns values as per corresponding 2.1 PCI BIOS calls.

Usage

Context and synchronization

Blockable context

Hardware applicability

All

Version applicability

hpci: 1

References

pci_irqrouting_entry(D4hpci)

``Hotplug devices'' in HDK Technical Reference
``PCI'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005