• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión08b81b1876493509f4c6888e9a4a029754a60523 (tree)
Tiempo2016-03-23 02:49:29
AutorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

pci: SH address space fix.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Cambiar Resumen

Diferencia incremental

--- a/drivers/pci/pci_common.c
+++ b/drivers/pci/pci_common.c
@@ -224,6 +224,12 @@ int __pci_hose_phys_to_bus(struct pci_controller *hose,
224224 if (res->flags & skip_mask)
225225 continue;
226226
227+#if defined(CONFIG_SH4_PCI)
228+ /* from Logic address to Physical address */
229+ if( (phys_addr & 0xF0000000) == 0x80000000)
230+ phys_addr &= ~0x80000000;
231+#endif
232+
227233 bus_addr = phys_addr - res->phys_start + res->bus_start;
228234
229235 if (bus_addr >= res->bus_start &&