aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2015-09-30 16:00:50 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-09-30 21:42:29 +1000
commit457bcd7a67c67bf477b198d7f06d2a9919b9f189 (patch)
tree02726261430d916815bc4e49b96e75fa9d6b4b76
parente8b107957ba0becac99ee0e233e446d0a29daaad (diff)
downloadskiboot-457bcd7a67c67bf477b198d7f06d2a9919b9f189.zip
skiboot-457bcd7a67c67bf477b198d7f06d2a9919b9f189.tar.gz
skiboot-457bcd7a67c67bf477b198d7f06d2a9919b9f189.tar.bz2
PHB3: Fix incorrect comments
When struct phb3::has_link is set to true, the downstream link of root port is up, not down. This fixes the incorrect comments. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/phb3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb3.c b/hw/phb3.c
index 49b8e92..fd89d16 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -1948,7 +1948,7 @@ static void phb3_setup_for_link_up(struct phb3 *p)
out_be64(p->regs + UTL_PCIE_PORT_STATUS, 0xffdfffffffffffff);
out_be64(p->regs + UTL_PCIE_PORT_IRQ_EN, 0xad5a800000000000);
- /* Mark link down */
+ /* Mark link up */
p->has_link = true;
/* Don't block PCI-CFG */