summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-06-01 20:05:06 +0000
committerjhb <jhb@FreeBSD.org>2015-06-01 20:05:06 +0000
commitc2b9c8621e0421049de9dd87f12c74b95ddc2b77 (patch)
tree333cf7e53f261be864a5e951aa65ffac66726031
parent77722a1db50434c5b1a75674f2034c0149fed6b1 (diff)
downloadFreeBSD-src-c2b9c8621e0421049de9dd87f12c74b95ddc2b77.zip
FreeBSD-src-c2b9c8621e0421049de9dd87f12c74b95ddc2b77.tar.gz
Catch up to the SRIOV API changes in r283670.
-rw-r--r--sys/dev/ixgbe/if_ix.c6
-rw-r--r--sys/dev/ixgbe/ixgbe.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
index 0c3769c..7755626 100644
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -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
};
diff --git a/sys/dev/ixgbe/ixgbe.h b/sys/dev/ixgbe/ixgbe.h
index bc6634e..7f8aac5 100644
--- a/sys/dev/ixgbe/ixgbe.h
+++ b/sys/dev/ixgbe/ixgbe.h
@@ -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"
OpenPOWER on IntegriCloud