svn commit: r283883 - in head/sys: dev/ixgbe modules/ixv
Glen Barber
gjb at FreeBSD.org
Mon Jun 1 18:42:32 UTC 2015
On Mon, Jun 01, 2015 at 05:43:35PM +0000, Jack F Vogel wrote:
> Author: jfv
> Date: Mon Jun 1 17:43:34 2015
> New Revision: 283883
> URL: https://svnweb.freebsd.org/changeset/base/283883
>
> Log:
> Delta D2489 - Add SRIOV support to the Intel 10G driver.
>
> NOTE: This is a technology preview, while it has undergone
> development testing, Intel has not yet completed full
> validation of the feature. It is being integrated for
> early access and customer testing.
>
> Modified:
> head/sys/dev/ixgbe/if_ix.c
> head/sys/dev/ixgbe/if_ixv.c
> head/sys/dev/ixgbe/ix_txrx.c
> head/sys/dev/ixgbe/ixgbe.h
> head/sys/dev/ixgbe/ixgbe_mbx.h
> head/sys/dev/ixgbe/ixgbe_vf.c
> head/sys/modules/ixv/Makefile
>
This breaks the build.
Please revert until the change is properly build-tested.
/usr/src/sys/dev/ixgbe/if_ix.c:233:2: error: use of undeclared identifier 'pci_init_iov_desc'
DEVMETHOD(pci_init_iov, ixgbe_init_iov),
^
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:5: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
<scratch space>:48:1: note: expanded from here
pci_init_iov_desc
^
/usr/src/sys/dev/ixgbe/if_ix.c:233:2: error: expected expression
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:52: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
/usr/src/sys/dev/ixgbe/if_ix.c:233:2: error: use of undeclared identifier 'pci_init_iov_t'
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:42: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
<scratch space>:48:1: note: expanded from here
pci_init_iov_t
^
/usr/src/sys/dev/ixgbe/if_ix.c:234:2: error: use of undeclared identifier 'pci_uninit_iov_desc'; did you mean 'pci_enable_io_desc'?
DEVMETHOD(pci_uninit_iov, ixgbe_uninit_iov),
^
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:5: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
<scratch space>:48:1: note: expanded from here
pci_uninit_iov_desc
^
./pci_if.h:125:27: note: 'pci_enable_io_desc' declared here
extern struct kobjop_desc pci_enable_io_desc;
^
/usr/src/sys/dev/ixgbe/if_ix.c:234:2: error: expected expression
DEVMETHOD(pci_uninit_iov, ixgbe_uninit_iov),
^
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:52: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
/usr/src/sys/dev/ixgbe/if_ix.c:234:2: error: use of undeclared identifier 'pci_uninit_iov_t'
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:42: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
<scratch space>:48:1: note: expanded from here
pci_uninit_iov_t
^
/usr/src/sys/dev/ixgbe/if_ix.c:235:2: error: use of undeclared identifier 'pci_add_vf_desc'
DEVMETHOD(pci_add_vf, ixgbe_add_vf),
^
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:5: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
<scratch space>:48:1: note: expanded from here
pci_add_vf_desc
^
/usr/src/sys/dev/ixgbe/if_ix.c:235:2: error: expected expression
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:52: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
/usr/src/sys/dev/ixgbe/if_ix.c:235:2: error: use of undeclared identifier 'pci_add_vf_t'
/usr/src/sys/sys/bus.h:649:19: note: expanded from macro 'DEVMETHOD'
#define DEVMETHOD KOBJMETHOD
^
/usr/src/sys/sys/kobj.h:98:42: note: expanded from macro 'KOBJMETHOD'
{ &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) }
^
<scratch space>:48:1: note: expanded from here
pci_add_vf_t
^
/usr/src/sys/dev/ixgbe/if_ix.c:595:11: error: implicit declaration of function 'pci_iov_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
error = pci_iov_attach(dev, pf_schema, vf_schema);
^
/usr/src/sys/dev/ixgbe/if_ix.c:660:6: error: implicit declaration of function 'pci_iov_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pci_iov_detach(dev) != 0) {
^
/usr/src/sys/dev/ixgbe/if_ix.c:660:6: note: did you mean 'pci_iov_attach'?
/usr/src/sys/dev/ixgbe/if_ix.c:595:11: note: 'pci_iov_attach' declared here
error = pci_iov_attach(dev, pf_schema, vf_schema);
^
11 errors generated.
*** Error code 1
Stop.
make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
*** Error code 1
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150601/e008a85d/attachment.sig>
More information about the svn-src-all
mailing list