Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167834039
D58881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
895 B
Referenced Files
None
Subscribers
None
D58881.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D58881: LinuxKPI: add PCI_IRQ_AFFINITY #define
Attached
Detach File
Event Timeline
Log In to Comment