]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the FIRMWARE_MAX limit.
authorMark Johnston <markj@FreeBSD.org>
Wed, 10 Jun 2020 23:52:29 +0000 (23:52 +0000)
committerMark Johnston <markj@FreeBSD.org>
Wed, 10 Jun 2020 23:52:29 +0000 (23:52 +0000)
commit4f8ad92f36fd24f34d91b0e03465063be7927606
tree5320aa78005fa834d070120ac2d819d6d3d6a8df
parentae672aa5e38b87e955bfdb9b6f9586d261c91cc5
Remove the FIRMWARE_MAX limit.

The firmware module arbitrarily limits us to at most 50 images.  It is
possible to hit this limit on platforms that preload many firmware
images, or link all of the firmware images for a set of devices into the
kernel.

Convert the table into a linked list, removing the limit.

Reported by: Steve Wheeler
Reviewed by: rpokala
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D25161
sys/kern/subr_firmware.c