lkml.org 
[lkml]   [2005]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help enabling PCI interrupts on Dell/SMP and Sun/SMP systems.
Alan Kilian wrote:
> Maybe that's it.
>
> I ask the card which interrupt line it was given at boot-time:
>
> pci_read_config_byte(dev, PCI_INTERRUPT_LINE,
> &softp->interrupt_line);
>
> Then I request an IRQ:
>
> request_irq(softp->interrupt_line, sseintr,
> SA_INTERRUPT, "sse", softp);

Yeah, that's wrong. Should be request_irq(dev->irq, ... )

PCI_INTERRUPT_LINE is assigned by the BIOS and has nothing to do with
the routing used in APIC mode. That's why it works with noapic mode
since then the routing is the same as the BIOS assumed.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.018 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site