diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-31 23:01:42 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-31 23:01:42 -0500 |
commit | 85b59f5bb24aeca1a987cbb206e228bf630c8327 (patch) | |
tree | 0bf1e2e46f58d04f597cf62f0fbf8ae5d7ada52d /arch/sh/drivers/pci/pci.c | |
parent | aee4467b5ce5047401efb4175b1360ec1734affc (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/drivers/pci/pci.c')
-rw-r--r-- | arch/sh/drivers/pci/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c index 45a15cab01df..63b11fddffec 100644 --- a/arch/sh/drivers/pci/pci.c +++ b/arch/sh/drivers/pci/pci.c | |||
@@ -88,6 +88,8 @@ void __devinit register_pci_controller(struct pci_channel *hose) | |||
88 | mutex_unlock(&pci_scan_mutex); | 88 | mutex_unlock(&pci_scan_mutex); |
89 | } | 89 | } |
90 | 90 | ||
91 | return; | ||
92 | |||
91 | out: | 93 | out: |
92 | printk(KERN_WARNING "Skipping PCI bus scan due to resource conflict\n"); | 94 | printk(KERN_WARNING "Skipping PCI bus scan due to resource conflict\n"); |
93 | } | 95 | } |