loader: Add a list of firmware name mapping

Since we started to ship raw firmware for iwm(4), users who loads
the driver from loader are having problems as loader don't know that
the firmwares are now raw files and not kernel modules anymore.
Start a list of default entry for iwm(4) firmwares name mapping so it will
still works when loaded from loader.

Differential Revision:	https://reviews.freebsd.org/D48211
Reviewed by:	bz, imp, kevans
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2025-01-06 08:34:02 +01:00
parent d830cac9fe
commit a0f06dfb0d

View file

@ -109,7 +109,7 @@ kernels_autodetect="YES" # Auto-detect kernel directories in /boot
#comconsole_speed="115200" # Set the current serial console speed
#console="vidconsole" # A comma separated list of console(s)
#currdev="disk1s1a" # Set the current device
module_path="/boot/modules;/boot/dtb;/boot/dtb/overlays" # Set the module search path
module_path="/boot/modules;/boot/firmware;/boot/dtb;/boot/dtb/overlays" # Set the module search path
module_blacklist="drm drm2 radeonkms i915kms amdgpu" # Loader module blacklist
#prompt="\\${interpret}" # Set the command prompt
#root_disk_unit="0" # Force the root disk unit number
@ -182,3 +182,14 @@ module_blacklist="drm drm2 radeonkms i915kms amdgpu" # Loader module blacklist
#module_before="cmd" # executes "cmd" before loading the module
#module_after="cmd" # executes "cmd" after loading the module
#module_error="cmd" # executes "cmd" if load fails
### Firmware names mapping list
iwm3160fw_type="firmware"
iwm7260fw_type="firmware"
iwm7265fw_type="firmware"
iwm8265fw_type="firmware"
iwm9260fw_type="firmware"
iwm3168fw_type="firmware"
iwm7265Dfw_type="firmware"
iwm8000C_type="firmware"
iwm9000fw_type="firmware"