Page MenuHomeFreeBSD

D29675.diff
No OneTemporary

D29675.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
@@ -709,7 +709,7 @@
/* XXX This should not be necessary. */
#define pcix_set_mmrbc(d, v) 0
#define pcix_get_max_mmrbc(d) 0
-#define pcie_set_readrq(d, v) pci_set_max_read_req(&(d)->dev, (v))
+#define pcie_set_readrq(d, v) pci_set_max_read_req((d)->dev.bsddev, (v))
#define PCI_DMA_BIDIRECTIONAL 0
#define PCI_DMA_TODEVICE 1

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 4:00 PM (20 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14562750
Default Alt Text
D29675.diff (547 B)

Event Timeline