FW: porting pci driverfrom arch=ppc on kernel 2.6.16 to arch=powerpc on 2.6.24...

Mike Timmons mike_timmons at trimble.com
Fri May 9 01:28:27 EST 2008


Thanks for the help Scott. Simply getting my irq from the pci device
structure in my probe callback following successful PCI driver
registration was the trick. I now have my Fujitsu CoralP driver running
under the 2.6.24 kernel on the Lite5200b (although I have a HW problem
on my product board that confused my efforts). Regardless, I'm now
confident I'm doing this correctly, thanks to you help.

-----Original Message-----
From: Scott Wood [mailto:scottwood at freescale.com] 
Sent: Tuesday, May 06, 2008 2:42 PM
To: Mike Timmons
Cc: linuxppc-embedded at ozlabs.org; Mark Gibson
Subject: Re: porting pci driverfrom arch=ppc on kernel 2.6.16 to
arch=powerpc on 2.6.24...

Mike Timmons wrote:
> If I'm not supposed to read the interrupt using config_read, should I
> also not be writing to the host register on the coral P to clear the
> interrupt?
> 
> Should I instead be using some PCI helper functions? 

No, clearing interrupts is device-specific.

Have you verified that the device does not think it's generating an 
interrupt during the interrupt storm?  Do other PCI cards work?

-Scott



More information about the Linuxppc-embedded mailing list