Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355532
b: refs/heads/master
c: b73690c
h: refs/heads/master
v: v3
  • Loading branch information
Jason Gunthorpe authored and Jason Cooper committed Jan 30, 2013
1 parent a51b1dd commit cbfa1b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 183cadc962a7d721c83e1922295262ea1c824ce1
refs/heads/master: b73690c8f8b5d12ed32e10fb787f54e4b4ca232b
10 changes: 3 additions & 7 deletions trunk/arch/arm/mach-kirkwood/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,9 @@ static struct hw_pci kirkwood_pci __initdata = {

static void __init add_pcie_port(int index, void __iomem *base)
{
pr_info("Kirkwood PCIe port %d: ", index);

if (orion_pcie_link_up(base)) {
pr_info("link up\n");
pcie_port_map[num_pcie_ports++] = index;
} else
pr_info("link down, ignoring\n");
pcie_port_map[num_pcie_ports++] = index;
pr_info("Kirkwood PCIe port %d: link %s\n", index,
orion_pcie_link_up(base) ? "up" : "down");
}

void __init kirkwood_pcie_init(unsigned int portmask)
Expand Down

0 comments on commit cbfa1b1

Please sign in to comment.