aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-31 23:01:42 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-31 23:01:42 -0500
commit85b59f5bb24aeca1a987cbb206e228bf630c8327 (patch)
tree0bf1e2e46f58d04f597cf62f0fbf8ae5d7ada52d /arch/sh/include/asm
parentaee4467b5ce5047401efb4175b1360ec1734affc (diff)
sh: Enable PCI66 support for SH7780 host controller.
This adds some helper glue for scanning the bus and determining if all of the devices are 66MHz capable or not before flipping on 66MHz mode. This isn't quite to spec, but it's fairly consistent with what other embedded controllers end up having to do. Scanning code cribbed from the MIPS txx9 PCI code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r--arch/sh/include/asm/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/pci.h b/arch/sh/include/asm/pci.h
index d124a009889f..5849d435c441 100644
--- a/arch/sh/include/asm/pci.h
+++ b/arch/sh/include/asm/pci.h
@@ -32,6 +32,8 @@ struct pci_channel {
32}; 32};
33 33
34extern void register_pci_controller(struct pci_channel *hose); 34extern void register_pci_controller(struct pci_channel *hose);
35extern int pci_is_66mhz_capable(struct pci_channel *hose,
36 int top_bus, int current_bus);
35 37
36extern unsigned long PCIBIOS_MIN_IO, PCIBIOS_MIN_MEM; 38extern unsigned long PCIBIOS_MIN_IO, PCIBIOS_MIN_MEM;
37 39