Skip to content

Commit 1afafba

Browse files
antlassagnejdelvare
authored andcommitted
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 e26f023 ("firmware/dmi: Include product_sku info to modalias") that did the same for product_sku, and commit f97a210 ("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>
1 parent 05f7e89 commit 1afafba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/firmware/dmi-id.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size)
9696
{ "ct", DMI_CHASSIS_TYPE },
9797
{ "cvr", DMI_CHASSIS_VERSION },
9898
{ "sku", DMI_PRODUCT_SKU },
99+
{ "pfa", DMI_PRODUCT_FAMILY },
99100
{ NULL, DMI_NONE }
100101
};
101102

0 commit comments

Comments
 (0)