CONFIG_PCI interaction with pata_platform driver on MPC834x board

Kumar Gala galak at kernel.crashing.org
Thu Jan 24 03:38:22 EST 2008


On Jan 23, 2008, at 9:06 AM, Johns Daniel wrote:

> I am asking this question once more since my previous try -- right
> before the Christmas break -- did not elicit any responses!   ;~)
>
> Without PCI support configured in the kernel, the CompactFlash card is
> discovered and configured by the kernel. With PCI support configured
> in the kernel, it fails to discover the CF card through the
> pata_platform driver.
>
> (Note that both PCI and CF work fine on this same board with the
> generic IDE driver!)
>
> There are only two differences that I notice between the two kernel
> setups that might be significant:
> 1.) The libata virq changes from 19 to 20.
> 2.) The isa_io_base changes from 0x0 to 0xfcfff000.
> Are either of these two changes significant?
>
> I am using the "arch/powerpc" kernel, version 2.6.20.21. The CF is
> wired directly to the local bus in True IDE mode.
>
> I have some debug info included in my previous message at:
>
> http://www.nabble.com/CONFIG_PCI-interaction-with-pata_platform-driver-on-MPC834x-board-tc14457502.html

I suggest putting some prints in the driver to see if the addresses  
that are ioremap() are the same.

then I'd track down if/where actual register read/writes are occurring  
and see if the same address is being used.

- k


More information about the Linuxppc-embedded mailing list