[Skiboot] [PATCH] PHB3: Fix incorrect comments

Gavin Shan gwshan at linux.vnet.ibm.com
Wed Sep 30 16:00:50 AEST 2015


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 at linux.vnet.ibm.com>
---
 hw/phb3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/phb3.c b/hw/phb3.c
index 8ac9a1a..26887f6 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -2033,7 +2033,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 */
-- 
2.1.0



More information about the Skiboot mailing list