From 9d334b2855481277934921c24f1afd7d537e3eb4 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 4 May 2016 14:30:02 +0000 Subject: 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@ --- sys/arch/arm/include/pci_machdep.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/arm') 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) \ -- cgit v1.2.3