Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140129971
D8791.id22907.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
778 B
Referenced Files
None
Subscribers
None
D8791.id22907.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/pci.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/pci.h
+++ sys/compat/linuxkpi/common/include/linux/pci.h
@@ -58,6 +58,7 @@
uint32_t device;
uint32_t subvendor;
uint32_t subdevice;
+ uint32_t class;
uint32_t class_mask;
uintptr_t driver_data;
};
@@ -89,7 +90,7 @@
#define PCI_VDEVICE(_vendor, _device) \
.vendor = PCI_VENDOR_ID_##_vendor, .device = (_device), \
- .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID
+ .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
#define PCI_DEVICE(_vendor, _device) \
.vendor = (_vendor), .device = (_device), \
.subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 3:39 PM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27115348
Default Alt Text
D8791.id22907.diff (778 B)
Attached To
Mode
D8791: Fix mlx4_pci_table's .driver_data
Attached
Detach File
Event Timeline
Log In to Comment