DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

pci_irqrouting_entry(D4hpci)


pci_irqrouting_entry -- PCI BIOS structure for interrupt assignments

Syntax

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

Description

The pci_irqrouting_entry structure shows the assignment of interrupts to PCI devices. An array of these structures is filled in by the pci_get_irq_routing_options(D3hpci) function.

Structure definition

The pci_irqrouting_entry structure contains the following members:
           uchar_t         bus_number;
           uchar_t         device_number;
           uchar_t         link_a;
           ushort_t        irqmap_a;
           uchar_t         link_b;
           ushort_t        irqmap_b;
           uchar_t         link_c;
           ushort_t        irqmap_c;
           uchar_t         link_d;
           ushort_t        irqmap_d;
           uchar_t         slot;
           uchar_t         reserved;

Structure members

The members are defined as:

uchar_t bus_number
A number in the range 0 to 255, inclusive, that uniquely selects a PCI bus.

uchar_t device_number
A number in the upper 5 bits in the range 0 to 31 that uniquely selects a device on the bus pointed to by uchar_t bus_number.

uchar_t link_a, uchar_t link_b, uchar_t link_c, uchar_t link_d

ushort_t irqmap_a, ushort_t irqmap_b, ushort_t irqmap_c, ushort_t irqmap_d
Map of IRQs to sockets. The four members correspond to the four PCI interrupt pins: A, B, C, and D. See the PCI BIOS Specification, Revision 2.1, August 26, 1994 for a description.

uchar_t slot
A slot number value corresponding to a physical slot on the motherboard.

Usage

This structure is used only for HPCD drivers.

Hardware applicability

PCI bus hardware.

Version applicability

hpci: 1

References

pci_get_irq_routing_options(D3hpci)

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

PCI Special Interest Group, PCI BIOS Specification, Revision 2.1, August 26, 1994.


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