cxgbe firmware and WITHOUT_SOURCELESS
Navdeep Parhar
np at FreeBSD.org
Mon Nov 5 18:50:06 UTC 2012
On 11/02/12 12:17, Christoph Egger wrote:
> Hi folks!
>
> Running a WITHOUT_SOURCELESS build on 10-CURRENT source includes the
> cxbge firmware part which -- as far as I can tell -- is totally
> sourceless. You might want to use the patch below (or direct me to a
> better place to submit this patch to).
Hello Christoph,
The patch isn't quite correct -- you must have the firmware
configuration files (the t4fw_cfg*.txt files in firmware/ ) in order for
the driver to attach successfully to the card. The correct thing to do
for WITHOUT_SOURCELESS would be to still build the t4fw_cfg KLD but
leave the firmware binary out of it.
Regards,
Navdeep
>
> Regards
>
> Christoph
>
> Index: modules/cxgbe/Makefile
> ===================================================================
> --- modules/cxgbe/Makefile (revision 242489)
> +++ modules/cxgbe/Makefile (working copy)
> @@ -2,8 +2,14 @@
> # $FreeBSD$
> #
>
> +.include <bsd.own.mk>
> +
> SUBDIR = if_cxgbe
> +
> +.if ${MK_SOURCELESS_UCODE} != "no"
> SUBDIR+= firmware
> +.endif
> +
> SUBDIR+= ${_tom}
>
> .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
> _______________________________________________
> freebsd-drivers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.org"
>
More information about the freebsd-drivers
mailing list