diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-07 17:10:17 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-07-18 16:39:11 -0400 |
commit | 129622672d70711c6c844fb529381ff0dad9085a (patch) | |
tree | ea05d97ec3a457814e282c5cf8423c9e30994cb9 /drivers/pci/quirks.c | |
parent | bce5bbbb23f780a792be7e594af7cd4b4aae1cd4 (diff) |
arch/tile: tilegx PCI root complex support
This change implements PCIe root complex support for tilegx using
the kernel support layer for accessing the TRIO hardware shim.
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> [changes in 07487f3]
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 194b243a2817..9478f7276512 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -2143,9 +2143,9 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82865_HB, | |||
2143 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82875_HB, | 2143 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82875_HB, |
2144 | quirk_unhide_mch_dev6); | 2144 | quirk_unhide_mch_dev6); |
2145 | 2145 | ||
2146 | #ifdef CONFIG_TILE | 2146 | #ifdef CONFIG_TILEPRO |
2147 | /* | 2147 | /* |
2148 | * The Tilera TILEmpower platform needs to set the link speed | 2148 | * The Tilera TILEmpower tilepro platform needs to set the link speed |
2149 | * to 2.5GT(Giga-Transfers)/s (Gen 1). The default link speed | 2149 | * to 2.5GT(Giga-Transfers)/s (Gen 1). The default link speed |
2150 | * setting is 5GT/s (Gen 2). 0x98 is the Link Control2 PCIe | 2150 | * setting is 5GT/s (Gen 2). 0x98 is the Link Control2 PCIe |
2151 | * capability register of the PEX8624 PCIe switch. The switch | 2151 | * capability register of the PEX8624 PCIe switch. The switch |
@@ -2160,7 +2160,7 @@ static void __devinit quirk_tile_plx_gen1(struct pci_dev *dev) | |||
2160 | } | 2160 | } |
2161 | } | 2161 | } |
2162 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_PLX, 0x8624, quirk_tile_plx_gen1); | 2162 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_PLX, 0x8624, quirk_tile_plx_gen1); |
2163 | #endif /* CONFIG_TILE */ | 2163 | #endif /* CONFIG_TILEPRO */ |
2164 | 2164 | ||
2165 | #ifdef CONFIG_PCI_MSI | 2165 | #ifdef CONFIG_PCI_MSI |
2166 | /* Some chipsets do not support MSI. We cannot easily rely on setting | 2166 | /* Some chipsets do not support MSI. We cannot easily rely on setting |