svn commit: r283893 - head/sys/dev/ixgbe
John Baldwin
jhb at FreeBSD.org
Mon Jun 1 20:05:08 UTC 2015
Author: jhb
Date: Mon Jun 1 20:05:06 2015
New Revision: 283893
URL: https://svnweb.freebsd.org/changeset/base/283893
Log:
Catch up to the SRIOV API changes in r283670.
Modified:
head/sys/dev/ixgbe/if_ix.c
head/sys/dev/ixgbe/ixgbe.h
Modified: head/sys/dev/ixgbe/if_ix.c
==============================================================================
--- head/sys/dev/ixgbe/if_ix.c Mon Jun 1 19:26:24 2015 (r283892)
+++ head/sys/dev/ixgbe/if_ix.c Mon Jun 1 20:05:06 2015 (r283893)
@@ -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
};
Modified: head/sys/dev/ixgbe/ixgbe.h
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.h Mon Jun 1 19:26:24 2015 (r283892)
+++ head/sys/dev/ixgbe/ixgbe.h Mon Jun 1 20:05:06 2015 (r283893)
@@ -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"
More information about the svn-src-all
mailing list