mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
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 commite26f023e01("firmware/dmi: Include product_sku info to modalias") that did the same for product_sku, and commitf97a2103f1("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>
This commit is contained in:
parent
05f7e89ab9
commit
1afafbaf74
1 changed files with 1 additions and 0 deletions
|
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue