diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2015-09-30 16:00:50 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-30 21:42:29 +1000 |
commit | 457bcd7a67c67bf477b198d7f06d2a9919b9f189 (patch) | |
tree | 02726261430d916815bc4e49b96e75fa9d6b4b76 /hw | |
parent | e8b107957ba0becac99ee0e233e446d0a29daaad (diff) | |
download | skiboot-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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/phb3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |