summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2011-10-06 14:08:18 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-12-05 10:21:44 -0800
commitb50cac55bf859d5b2fdcc1803a553a251b703456 (patch)
treebd0f0c9342f173754db228834ccb0f35fd3dff20 /lib/idr.c
parent8e8da023f5af71662867729db5547dc54786093c (diff)
downloadop-kernel-dev-b50cac55bf859d5b2fdcc1803a553a251b703456.zip
op-kernel-dev-b50cac55bf859d5b2fdcc1803a553a251b703456.tar.gz
PCI/sysfs: add per pci device msi[x] irq listing (v5)
This patch adds a per-pci-device subdirectory in sysfs called: /sys/bus/pci/devices/<device>/msi_irqs This sub-directory exports the set of msi vectors allocated by a given pci device, by creating a numbered sub-directory for each vector beneath msi_irqs. For each vector various attributes can be exported. Currently the only attribute is called mode, which tracks the operational mode of that vector (msi vs. msix) Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud