summaryrefslogtreecommitdiffstats
path: root/src/vlib/pci
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-05 10:18:50 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-05 10:32:20 +0000
commitd5ded2df0ff06fe9178696657ee53a31f7e4c81c (patch)
treee0fb1d88b4acd946dbc3b24fb83d48786b25e884 /src/vlib/pci
parente3e2f07141a9ab0729e76b5306b1710c390b8561 (diff)
vlib: rework PCI INTx support
Change-Id: I6df5a01416993c213e06645a6d9b48dfe77c8227 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/pci')
-rw-r--r--src/vlib/pci/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vlib/pci/pci.h b/src/vlib/pci/pci.h
index 072988a3561..f4d3674b30d 100644
--- a/src/vlib/pci/pci.h
+++ b/src/vlib/pci/pci.h
@@ -256,6 +256,9 @@ clib_error_t *vlib_pci_map_region_fixed (vlib_pci_dev_handle_t h,
u32 resource, u8 * addr,
void **result);
+clib_error_t *vlib_pci_register_intx_handler (vlib_pci_dev_handle_t h,
+ pci_intx_handler_function_t *
+ intx_handler);
clib_error_t *vlib_pci_register_msix_handler (vlib_pci_dev_handle_t h,
u32 start, u32 count,
pci_msix_handler_function_t *