Catch up to the SRIOV API changes in r283670.

This commit is contained in:
jhb 2015-06-01 20:05:06 +00:00
parent 77722a1db5
commit c2b9c8621e
2 changed files with 4 additions and 3 deletions

View File

@ -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
};

View File

@ -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"