]> mj.ucw.cz Git - pciutils.git/commit
cxl: Make id check more explicit
authorBen Widawsky <ben.widawsky@intel.com>
Fri, 31 Jul 2020 19:12:42 +0000 (12:12 -0700)
committerJaxon Haws <jaxon.haws@amd.com>
Thu, 29 Sep 2022 21:00:59 +0000 (16:00 -0500)
commit6c1382049899e6b77720bc1b0209588a51a5cca2
tree99dde78bf7d83bad0542d27ab8f1315ff9f7a17b
parentccf5ff415fac5f978a4cd5d6ada1ca1846cf201b
cxl: Make id check more explicit

Currently only type 0 DVSEC caps are handled. Moving this check will
allow more robust type handling in the future.

Should be no functional change.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Signed-off-by: Jaxon Haws <jaxon.haws@amd.com>
ls-ecaps.c