commit | fbb2f1511cb7536cbe18ee6b7003d661a92e1bb4 | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Mon Mar 15 15:00:52 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 07 10:47:27 2022 -0500 |
tree | 282c95ceae81f4ff3a2fca42320aee58fdd5700b | |
parent | 60325019aa7926c1ceaeb4701d31ea74831c9de1 [diff] |
drivers/pcie: Add a function to know MSI/MSI-x support of an endpoint And since it does yet another round of pcie_get_cap() on PCIE_MSI_CAP_ID and PCIE_MSIX_CAP_ID, let's factorize that into a utility function and change the relevant places to use that function instead. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>