Fwd: powerpc with gigabit card hanging
From: Segher Boessenkool <hidden>
Date: 2004-09-28 05:46:10
[Whoops, SMTP problem. Sorry if it's a duplicate now.] Begin forwarded message:
From: Segher Boessenkool <redacted> Date: 28 september 2004 0:39:32 GMT-05:00 To: Matt Porter <mporter@kernel.crashing.org> Cc: David Gardiner <redacted>, <redacted> Subject: Re: powerpc with gigabit card hangingquoted
quoted
What kernel are you using?2.6.whatever, and I've used 2.4 in the past I believe.quoted
quoted
it's just that the irq's I'm getting for the gigabit devices are zero (dual gigabit ethernet card) for the 2.6.9-rc2 plus patchs kernel but for the 2.4 series I was getting 12 and 9 as can be seen below and configuring the devices worked fine.PCI device IRQs are normally retrieved straight from the PCI device itself. Sounds like a firmware problem (or the bootloader, if that sets up the PCI devices for you).quoted
irqs for PCI devices do not come from the driver, they are platform specific. If you are having problems with the interrupt reported by xyz PCI driver then that is something wrong with your platform. On pmac, interrupt routing is retrieved from OF.I believe Linux for PowerMac actually gets the IRQ number straight from the device. Some other routing might be gotten out of the OF device-tree, yes. Segher