提交 bdf74990 编写于 作者: P Paul Mundt

sh: pci: Toggle configuration accesses on SH7786.

After configuration accesses have been completed deassert the
configuration access enable cleanly.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 c62e3fae
......@@ -58,6 +58,9 @@ static int sh7786_pcie_config_access(unsigned char access_type,
else
pci_write_reg(chan, *data, SH4A_PCIEPDR);
/* Disable the configuration access */
pci_write_reg(chan, 0, SH4A_PCIEPCTLR);
return PCIBIOS_SUCCESSFUL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册