Skip to contentSkip to conversation

Interrupt handling via OpenPIC

DISCUSSION Tim Moloney 2 participants 3 messages Apr 11, 2001

lore
Share & tools
lore
#0 lore raw

I am writing a device driver for a custom PMC card, and I'm having trouble with the interrupt service routine.

Although the PCI configuration block says that the board's interrupt is 9, I am receiving interrupt 3. I know that the OpenPIC is supposed to remap the interrupts but I don't quite understand the process. I've looked at the board's users manual and skimmed the Linux kernel but I can't find a good example of what to do.

Can anyone provide pointers to documentation, example code, etc. that shows how I can reconcile what the kernel thinks the interrupt is with what in actually being generated?

Additional info:
I am developing on a Synergy Microsystems VSS4 board. This is a quad-G4 VME board that has the following:
IBM MPIC-2 interrupt controller
Motorola MPC106 Grackle PCI bridge/memory controller Symbios 53c885 Ethernet/SCSI controller
Tundra Universe II PCI-VME64 bridge
DEC/Intel 21554 PCI-PCI bridge

Thanks for any help.

Tim Moloney

ManTech Real-time Systems Laboratory
2015 Cattlemen Road
Sarasota, FL 34232
(941) 377-6775 x208

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

You'll have to talk to synergy about that one. I'm not sure how the PMC interrupts are routed on that board (I've never tested a PMC card on it).

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

Thanks. I wasn't sure if this was a general Linux PPC kernel question or
a board specific question. I working with a Synergy tech. support person
now.

Tim Moloney

ManTech Real-time Systems Laboratory
2015 Cattlemen Road
Sarasota, FL 34232
(941) 377-6775 x208

----- Original Message -----
From: "Cort Dougan" <[email protected]>
To: "Tim Moloney" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, April 11, 2001 3:56 PM
Subject: Re: Interrupt handling via OpenPIC

Quoted 1 line

You'll have to talk to synergy about that one. I'm not sure how the

PMC

Quoted 1 line

interrupts are routed on that board (I've never tested a PMC card on

it).

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/