From owner-svn-src-head@freebsd.org Mon Sep 11 09:39:37 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 787E6E00C91; Mon, 11 Sep 2017 09:39:37 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fry.fubar.geek.nz (fry.fubar.geek.nz [139.59.165.16]) by mx1.freebsd.org (Postfix) with ESMTP id 45F627DE76; Mon, 11 Sep 2017 09:39:36 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from [IPv6:2a02:c7f:1e13:cf00:3c1a:19f3:83ee:e4f0] (unknown [IPv6:2a02:c7f:1e13:cf00:3c1a:19f3:83ee:e4f0]) by fry.fubar.geek.nz (Postfix) with ESMTPSA id 3D87C4ECC6; Mon, 11 Sep 2017 09:39:00 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r323362 - in head/sys: conf dev/neta From: Andrew Turner In-Reply-To: <201709091154.v89Bs4b9094975@repo.freebsd.org> Date: Mon, 11 Sep 2017 10:38:57 +0100 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <30B40281-5114-4C72-A9F2-408342BA8216@fubar.geek.nz> References: <201709091154.v89Bs4b9094975@repo.freebsd.org> To: Marcin Wojtas X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2017 09:39:37 -0000 > On 9 Sep 2017, at 12:54, Marcin Wojtas wrote: >=20 > Author: mw > Date: Sat Sep 9 11:54:04 2017 > New Revision: 323362 > URL: https://svnweb.freebsd.org/changeset/base/323362 >=20 > Log: > Add support for Armada 3700 in the NETA driver >=20 > This patch enables using NETA driver on Marvell Armada 3700 SoC > by introducing new compatible string, modifying clock source > obtaining and also excluding unnecessary parts. > The driver is added as a build option for arm64 platforms as well. I=E2=80=99m getting the following when trying to build with gcc (I have = initial patches to build arm64 with gcc form ports). Andrew --- if_mvneta.o --- = /jenkins/workspace/FreeBSD-arm64-head-gcc/freebsd-head/sys/dev/neta/if_mvn= eta.c:101:1: error: function declaration isn't a prototype = [-Werror=3Dstrict-prototypes] mvneta_get_clk() ^~~~~~~~~~~~~~ = /jenkins/workspace/FreeBSD-arm64-head-gcc/freebsd-head/sys/dev/neta/if_mvn= eta.c: In function 'mvneta_detach': = /jenkins/workspace/FreeBSD-arm64-head-gcc/freebsd-head/sys/dev/neta/if_mvn= eta.c:834:16: warning: variable 'ifp' set but not used = [-Wunused-but-set-variable] struct ifnet *ifp; ^~~