From cbf1061abda773daa5a0752b450ec256c29f1f30 Mon Sep 17 00:00:00 2001 From: Kelvin Cao Date: Fri, 4 Dec 2020 16:12:23 +0000 Subject: [PATCH] Fix a proxy id dmesg output issue --- ntb_hw_switchtec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ntb_hw_switchtec.c b/ntb_hw_switchtec.c index 88e550d..99e2c9e 100644 --- a/ntb_hw_switchtec.c +++ b/ntb_hw_switchtec.c @@ -1035,6 +1035,7 @@ static int add_req_id(struct switchtec_ntb *sndev, iowrite32(req_id << 16 | NTB_CTRL_REQ_ID_EN, &mmio_ctrl->req_id_table[slot]); + proxy_id = ioread32(&mmio_ctrl->req_id_table[slot]); dev_dbg(&sndev->stdev->dev, "Requester ID %02X:%02X.%X -> BB:%02X.%X\n", req_id >> 8, (req_id >> 3) & 0x1F,