Adaptec 1542CP - Storage Controller Fast SCSI 10 MBps Betriebsanweisung Seite 152

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 157
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 151
152 Enhanced OS-9 for X86 PCAT
1
Installing and Configuring Enhanced OS-9
pci_get_irq_pin() - get PCI IRQ pin
Syntax
#include <pcicnfg.h>
u_int8 pci_get_irq_pin(u_int8 bus, u_int8 dev, u_int8 func);
State
System
Description
pci_get_irq_pin() returns the status of the IRQ pin on a given PCI
device at ’bus’ bus number, ’dev’ device number, ’func’ function number.
Header File
MWOS/SRC/DEFS/HW/pcicnfg.h
Example
#include <const.h>
#include <pcicnfg.h>
#include <stdio.h>
#include <stdlib.h>
main()
{
u_int8 bus, dev, func;
u_int8 irqpin;
bus = 0; /* device on bus zero */
device = 11; /* device ID = 11 */
func = 0; /* function number = 0 */
irqpin = pci_get_irq_pin(bus, device, func);
printf("IRQ PIN = %d\n", irqpin);
return EXIT_SUCCESS;
}
pci_get_irq_line() - get PCI IRQ line
Syntax
#include <pcicnfg.h>
u_int8 pci_get_irq_line(u_int8 bus, u_int8 dev, u_int8 func);
State
System
Seitenansicht 151

Kommentare zu diesen Handbüchern

Keine Kommentare