dceravigupta at gmail.com
Thu Sep 9 22:37:22 EST 2010
Thanks for the reply.
> Often we always disable this pref windows so please disable this window.
> Try use
> the following ways to clear PCI_PREF_MEMORY_BASE and PCI_PREF_MEMORY_LIMIT.
> pci_write_config_word(dev, PCI_PREF_MEMORY_BASE, 0);
> pci_write_config_word(dev, PCI_PREF_MEMORY_LIMIT, 0);
I have a little confusion about what you said. You said I should disable
prefetched window corresponds to PCI Bridge to [bus 02-ff], the dmesgs shows
that it is already disabled.
pci 0001:01:00.0: PCI bridge to [bus 02-ff]
pci 0001:01:00.0: bridge window [io 0x0000-0x0000] (disabled)
pci 0001:01:00.0: bridge window [mem 0x00000000-0x000fffff] (disabled)
*pci 0001:01:00.0: bridge window [mem 0x00000000-0x000fffff pref]
Is it something that I am not getting right or you have miss read something?
If it is problem with me, then what should be the O/P in case when I disable
the prefetch window (by issuing pci_write_config_word(dev,
PCI_PREF_MEMORY_BASE, 0); and pci_write_config_word(dev,
PCI_PREF_MEMORY_LIMIT, 0); function calls)? And also, I will be really
thankful to you if you also tell me the function in which I should place
there function calls as I am new to linux device driver programming.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linuxppc-dev