diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-04 14:30:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-04 14:30:02 +0000 |
commit | 9d334b2855481277934921c24f1afd7d537e3eb4 (patch) | |
tree | cf65425fcfa6a58830f0aa0517be6cb6dc2407d6 /sys/arch/arm | |
parent | af81b7d497efd16720cc2ac3d3c2e762a68b3d38 (diff) |
Initial support for MSI-X. Only supported on amd64 for now. I have diffs to
actually use this in em(4) and xhci(4), but I'm not committing those yet
because we almost certainly need to save and restore the MSI-X registers
during suspend/resume. However, this allows mpi@ to play with multiple-vector
support in networking hardware.
Requested by mpi@
ok mlarkin@, mikeb@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/include/pci_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/include/pci_machdep.h b/sys/arch/arm/include/pci_machdep.h index 6686b5aa936..94517e8f20c 100644 --- a/sys/arch/arm/include/pci_machdep.h +++ b/sys/arch/arm/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.13 2013/11/05 10:12:35 mpi Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.14 2016/05/04 14:30:00 kettenis Exp $ */ /* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:52 thorpej Exp $ */ /* @@ -93,6 +93,7 @@ struct arm32_pci_chipset { #define pci_intr_map(pa, ihp) \ (*(pa)->pa_pc->pc_intr_map)((pa), (ihp)) #define pci_intr_map_msi(pa, ihp) (-1) +#define pci_intr_map_msix(pa, vec, ihp) (-1) #define pci_intr_string(c, ih) \ (*(c)->pc_intr_string)((c)->pc_intr_v, (ih)) #define pci_intr_establish(c, ih, l, h, a, n) \ |