diff options
| author | Antoine Lassagne <antoine.lassagne@canonical.com> | 2026-02-09 15:27:16 +0300 |
|---|---|---|
| committer | Jean Delvare <jdelvare@suse.de> | 2026-02-09 15:27:16 +0300 |
| commit | 1afafbaf749d8e8ec53f8e38efdc731131902b5b (patch) | |
| tree | c90f6754bca667630f99fce0d5bde71cb2dd106f | |
| parent | 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b (diff) | |
| download | linux-1afafbaf749d8e8ec53f8e38efdc731131902b5b.tar.xz | |
firmware/dmi: Include product_family info to modalias
Some platforms rely on modalias to customize configuration,
the product family helps to identify the hardware.
Add product_family to modalias for better utilization.
This patch mimics commit e26f023e01ef ("firmware/dmi:
Include product_sku info to modalias") that did the same
for product_sku, and commit f97a2103f1a7 ("firmware: dmi:
Move product_sku info to the end of the modalias") that
fixed regressions caused by the added field not being in
the end of the list.
Signed-off-by: Antoine Lassagne <antoine.lassagne@canonical.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
| -rw-r--r-- | drivers/firmware/dmi-id.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/dmi-id.c b/drivers/firmware/dmi-id.c index d19c78a78ae3..08e1552c2f74 100644 --- a/drivers/firmware/dmi-id.c +++ b/drivers/firmware/dmi-id.c @@ -96,6 +96,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size) { "ct", DMI_CHASSIS_TYPE }, { "cvr", DMI_CHASSIS_VERSION }, { "sku", DMI_PRODUCT_SKU }, + { "pfa", DMI_PRODUCT_FAMILY }, { NULL, DMI_NONE } }; |
