Commit e26f023e authored by Kai-Chuan Hsieh's avatar Kai-Chuan Hsieh Committed by Jean Delvare

firmware/dmi: Include product_sku info to modalias

Some Dell platforms rely on modalias to customize configuration,
the product sku can be more specific for the hardware.

Add product_sku to modalias for better utilization.
Signed-off-by: default avatarKai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
parent 3650b228
...@@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size) ...@@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size)
{ "svn", DMI_SYS_VENDOR }, { "svn", DMI_SYS_VENDOR },
{ "pn", DMI_PRODUCT_NAME }, { "pn", DMI_PRODUCT_NAME },
{ "pvr", DMI_PRODUCT_VERSION }, { "pvr", DMI_PRODUCT_VERSION },
{ "sku", DMI_PRODUCT_SKU },
{ "rvn", DMI_BOARD_VENDOR }, { "rvn", DMI_BOARD_VENDOR },
{ "rn", DMI_BOARD_NAME }, { "rn", DMI_BOARD_NAME },
{ "rvr", DMI_BOARD_VERSION }, { "rvr", DMI_BOARD_VERSION },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment