[OPAE] [PATCH 2/3] pcie: Add a debug on parsing feature
Jia Zhang <zhang.jia at linux.alibaba.com> Wed, 04 Apr 2018 13:11:43 +0800
| Newsgroups | dev.linux.lists.opae |
|---|---|
| Message-ID | <[email protected]> |
--===============1277266469937233240==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Signed-off-by: Jia Zhang <zhang.jia(a)linux.alibaba.com>
---
drivers/fpga/intel/pcie.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/fpga/intel/pcie.c b/drivers/fpga/intel/pcie.c
index a84d8a0..c5483d6 100644
--- a/drivers/fpga/intel/pcie.c
+++ b/drivers/fpga/intel/pcie.c
@@ -974,6 +974,9 @@ static int parse_feature(struct build_feature_devs_info=
*binfo,
=
header.csr =3D readq(hdr);
=
+ dev_dbg(&binfo->pdev->dev, "Parsing feature type %#x id %#x\n",
+ header.type, header.id);
+
switch (header.type) {
case FEATURE_TYPE_AFU:
ret =3D parse_feature_afus(binfo, hdr);
-- =
2.12.2
--===============1277266469937233240==--