Page MenuHomeFreeBSD

D58881.diff
No OneTemporary

D58881.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -240,6 +240,7 @@
#define PCI_IRQ_INTX 0x01
#define PCI_IRQ_MSI 0x02
#define PCI_IRQ_MSIX 0x04
+#define PCI_IRQ_AFFINITY 0x08
#define PCI_IRQ_ALL_TYPES (PCI_IRQ_MSIX|PCI_IRQ_MSI|PCI_IRQ_INTX)
#if defined(LINUXKPI_VERSION) && (LINUXKPI_VERSION <= 61000)
diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c
--- a/sys/compat/linuxkpi/common/src/linux_pci.c
+++ b/sys/compat/linuxkpi/common/src/linux_pci.c
@@ -1580,6 +1580,9 @@
{
int error;
+ if ((flags & PCI_IRQ_AFFINITY) != 0) {
+ pr_debug("%s: TODO PCI_IRQ_AFFINITY\n", __func__);
+ }
if (flags & PCI_IRQ_MSIX) {
struct msix_entry *entries;
int i;

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 25, 9:07 PM (1 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37251591
Default Alt Text
D58881.diff (895 B)

Event Timeline