delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/28/07:21:53

From: Harold Roman 978-461-0402 Ext 223 <harold AT giga-net DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: PCI Interrupt Handler
Date: Sat, 27 Jun 1998 12:50:29 -0400
Organization: GigaNet Inc.
Lines: 17
Message-ID: <359522D5.B81D5AFD@giga-net.com>
NNTP-Posting-Host: 207.60.106.223
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Does anyone have experience writting an interrupt handler for a
PCI device?

I am having trouble getting an interrupt handler to work with my PCI
device. I have no trouble when I register my handler to another
interrupt (IRQ8 -- real time clock interrupt), but when I try to
register the handler to my PCI device (IRQ9 or IRQ10 -- depending on
which slot I move the card to) my handler never gets called.

I am using: _go32_dpmi_chain_protected_mode_interrupt_vector( irq,
newHandler ).

I have verified that the device is really generating the interrupt.

What am I forgetting? Do I have to unmask the interrupt? Do I need to
map the PCI interrupts to the IRQ interrupts?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019