Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 17:41:28 +0100
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Mark Johnston <markj@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: c867ba72889d - main - bnxt: Do not compile on 32-bit platforms
Message-ID:  <EED35A2A-B024-4953-9ED1-AB5355DF4864@freebsd.org>
In-Reply-To: <202405281313.44SDD7VM021879@gitrepo.freebsd.org>
References:  <202405281313.44SDD7VM021879@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 May 2024, at 14:13, Mark Johnston <markj@FreeBSD.org> wrote:
>=20
> The branch main has been updated by markj:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3Dc867ba72889de51b0bd2c6a7049f539a=
baafd46e
>=20
> commit c867ba72889de51b0bd2c6a7049f539abaafd46e
> Author:     Mark Johnston <markj@FreeBSD.org>
> AuthorDate: 2024-05-28 13:05:14 +0000
> Commit:     Mark Johnston <markj@FreeBSD.org>
> CommitDate: 2024-05-28 13:12:52 +0000
>=20
>    bnxt: Do not compile on 32-bit platforms
>=20
>    The new bnxt_re driver doesn't compile on any of them (it uses =
writeq()
>    from the LinuxKPI, which isn't implemented there), and had already =
been
>    disconnected from the build on i386.
>=20
>    Reported by:    Jenkins
>    Fixes:  acd884dec99a ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
> ---
> sys/modules/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>=20
> diff --git a/sys/modules/Makefile b/sys/modules/Makefile
> index 54108097fe1d..d3ef4c63a41c 100644
> --- a/sys/modules/Makefile
> +++ b/sys/modules/Makefile
> @@ -442,8 +442,8 @@ SUBDIR+=3D dtrace
> SUBDIR+=3D opensolaris
> .endif
>=20
> -# Requires bus_space_read_8
> -.if ${MACHINE_ARCH} !=3D "i386"
> +.if ${MACHINE_ARCH} !=3D "i386" && ${MACHINE_CPUARCH} !=3D "arm" && \
> +    ${MACHINE_ARCH} !=3D "powerpc" && ${MACHINE_ARCH} !=3D =
"powerpcspe"

Check ${MACHINE_ABI:Mlong64} or !${MACHINE_ABI:Mlong32} instead?

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EED35A2A-B024-4953-9ED1-AB5355DF4864>