Implement a workaround for kms-drm modules
pci_iov_if.h was added to pci.h, but none of the kms-drm branches have that. Rather than play whack a mole with the branches, move its inclusion to linux_pci.c which is the only part of the code that needs it now. Longer term, other solutions will be needed, but this gives us time to get those deployed on all the supported versions.
This commit is contained in:
parent
6f7bbb2661
commit
9275cd0dc5
@ -40,10 +40,10 @@
|
|||||||
#include <sys/nv.h>
|
#include <sys/nv.h>
|
||||||
#include <sys/pciio.h>
|
#include <sys/pciio.h>
|
||||||
#include <sys/rman.h>
|
#include <sys/rman.h>
|
||||||
|
#include <sys/bus.h>
|
||||||
#include <dev/pci/pcivar.h>
|
#include <dev/pci/pcivar.h>
|
||||||
#include <dev/pci/pcireg.h>
|
#include <dev/pci/pcireg.h>
|
||||||
#include <dev/pci/pci_private.h>
|
#include <dev/pci/pci_private.h>
|
||||||
#include <dev/pci/pci_iov.h>
|
|
||||||
|
|
||||||
#include <machine/resource.h>
|
#include <machine/resource.h>
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/fcntl.h>
|
#include <sys/fcntl.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sys/filio.h>
|
#include <sys/filio.h>
|
||||||
|
#include <sys/pciio.h>
|
||||||
#include <sys/pctrie.h>
|
#include <sys/pctrie.h>
|
||||||
#include <sys/rwlock.h>
|
#include <sys/rwlock.h>
|
||||||
|
|
||||||
@ -46,6 +47,10 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include <machine/stdarg.h>
|
#include <machine/stdarg.h>
|
||||||
|
|
||||||
|
#include <dev/pci/pcivar.h>
|
||||||
|
#include <dev/pci/pci_private.h>
|
||||||
|
#include <dev/pci/pci_iov.h>
|
||||||
|
|
||||||
#include <linux/kobject.h>
|
#include <linux/kobject.h>
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user