aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2025-01-06 07:34:02 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2025-01-06 07:34:02 +0000
commita0f06dfb0d188966bee7265ec7d9f20093186bb6 (patch)
treee36ceb2f13407e088e396ee73a96ffae9faee5e7
parentd830cac9fed1882a192b0ec5c96fb3ac9bfbc2ee (diff)
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
-rw-r--r--stand/defaults/loader.conf13
1 files changed, 12 insertions, 1 deletions
diff --git a/stand/defaults/loader.conf b/stand/defaults/loader.conf
index d266c240955a..b1e87520a2d4 100644
--- a/stand/defaults/loader.conf
+++ b/stand/defaults/loader.conf
@@ -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"