diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-09-19 00:54:50 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-09-19 00:54:50 -0400 |
commit | bdf7499081fc3c521d0f8fc28c6950c7c9bd7e97 (patch) | |
tree | 887cfefa9eddfc7b6517c87a96d5c5ceff9a97a8 | |
parent | c62e3fae58198fc1f5d7922f84fe91b3fcf61177 (diff) |
sh: pci: Toggle configuration accesses on SH7786.
After configuration accesses have been completed deassert the
configuration access enable cleanly.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/drivers/pci/ops-sh7786.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/ops-sh7786.c b/arch/sh/drivers/pci/ops-sh7786.c index 79a5ddae733d..4728199f71a6 100644 --- a/arch/sh/drivers/pci/ops-sh7786.c +++ b/arch/sh/drivers/pci/ops-sh7786.c | |||
@@ -58,6 +58,9 @@ static int sh7786_pcie_config_access(unsigned char access_type, | |||
58 | else | 58 | else |
59 | pci_write_reg(chan, *data, SH4A_PCIEPDR); | 59 | pci_write_reg(chan, *data, SH4A_PCIEPDR); |
60 | 60 | ||
61 | /* Disable the configuration access */ | ||
62 | pci_write_reg(chan, 0, SH4A_PCIEPCTLR); | ||
63 | |||
61 | return PCIBIOS_SUCCESSFUL; | 64 | return PCIBIOS_SUCCESSFUL; |
62 | } | 65 | } |
63 | 66 | ||