linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* porting pci driverfrom arch=ppc on kernel 2.6.16 to arch=powerpc on 2.6.24...
@ 2008-05-06 17:39 Mike Timmons
  2008-05-06 18:12 ` Scott Wood
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Timmons @ 2008-05-06 17:39 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

I have a framebuffer driver for the Fujitsu CoralP that registers fine
with the PCI bus and operates for my new arch=powerpc 2.6.24 build. The
only thing that failed when jumping from arch=ppc on my 2.6.16 kernel to
my new 2.6.24 kernel is the interrupt request. While testing other
functionality I simply compiled-out the interrupt request because it is
not always critical for basic frame buffer operation. I'm back to
wanting the interrupt.

 

Specifically, I have a lite5200b-based board in both cases (2.6.14 and
2.6.24 kernels). Under the old ppc scheme I obtained irq=1 via a call to


 

pci_read_config_byte(pci_dev, PCI_INTERRUPT_LINE, &irqnum).

 

Under my new powerpc kernel 2.6.24 I obtain irq=0 and the subsequent
interrupt request fails. Also, a hard-coded irq=1 fails too. I know this
is an issue with NOT querying the device tree, but I'm not sure what to
specify in lite5200b.dts, or what property I need to query to get the
correct pci interrupt.

 

If anyone is familiar with lite5200b.dts, is all the info I need already
in there, or do I need to add my pci device? I've done some mucking
around in the dts file but I'm not a pci expert so I am a bit confused.


[-- Attachment #2: Type: text/html, Size: 3615 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-06 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 17:39 porting pci driverfrom arch=ppc on kernel 2.6.16 to arch=powerpc on 2.6.24 Mike Timmons
2008-05-06 18:12 ` Scott Wood
2008-05-06 19:27   ` Mike Timmons
2008-05-06 19:36   ` Mike Timmons
2008-05-06 19:41     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).