]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r343269, r346567
authornp <np@FreeBSD.org>
Tue, 30 Apr 2019 08:17:11 +0000 (08:17 +0000)
committernp <np@FreeBSD.org>
Tue, 30 Apr 2019 08:17:11 +0000 (08:17 +0000)
commitee9d3464d193920b5a737156b9beb177591bc83b
treebe96dfb026feb59ec8569be5b06cfbba105614c6
parentf4467589001532f5b227c93f14dfdde1e9224a45
MFC r343269, r346567

r343269:
cxgbe(4): Allow negative values in hw.cxgbe.fw_install and take them to
mean that the driver should taste the firmware in the KLD and use that
firmware's version for all its fw_install checks.

The driver gets firmware version information from compiled-in values by
default and this change allows custom (or older/newer) firmware modules
to be used with the stock driver.

There is no change in default behavior.

Sponsored by: Chelsio Communications

r346567:
cxgbe(4): Make sure bundled_fw is always initialized before use.

This fixes a bug that prevented the driver from auto-flashing the
firmware when it didn't see one on the card.  This feature was
introduced in r321390 and this bug was introduced in r343269.

Reported by: gallatin@
Sponsored by: Chelsio Communications
sys/dev/cxgbe/t4_main.c