Catch up to the SRIOV API changes in r283670.
This commit is contained in:
parent
77722a1db5
commit
c2b9c8621e
@ -230,9 +230,9 @@ static device_method_t ix_methods[] = {
|
||||
DEVMETHOD(device_suspend, ixgbe_suspend),
|
||||
DEVMETHOD(device_resume, ixgbe_resume),
|
||||
#ifdef PCI_IOV
|
||||
DEVMETHOD(pci_init_iov, ixgbe_init_iov),
|
||||
DEVMETHOD(pci_uninit_iov, ixgbe_uninit_iov),
|
||||
DEVMETHOD(pci_add_vf, ixgbe_add_vf),
|
||||
DEVMETHOD(pci_iov_init, ixgbe_init_iov),
|
||||
DEVMETHOD(pci_iov_uninit, ixgbe_uninit_iov),
|
||||
DEVMETHOD(pci_iov_add_vf, ixgbe_add_vf),
|
||||
#endif /* PCI_IOV */
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
@ -95,6 +95,7 @@
|
||||
#ifdef PCI_IOV
|
||||
#include <sys/nv.h>
|
||||
#include <sys/iov_schema.h>
|
||||
#include <dev/pci/pci_iov.h>
|
||||
#endif
|
||||
|
||||
#include "ixgbe_api.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user