Skip to content

Commit

Permalink
Fix a proxy id dmesg output issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-cao committed Dec 4, 2020
1 parent 56030a9 commit cbf1061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ntb_hw_switchtec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cbf1061

Please sign in to comment.