firmware/dmi: Include product_sku info to modalias
PATCH 1/1 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.
--- drivers/firmware/dmi-id.c | 1 + 1 file changed, 1 insertion(+)
drivers/firmware/dmi-id.c +1 -0
@@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size) { "svn", DMI_SYS_VENDOR }, { "pn", DMI_PRODUCT_NAME }, { "pvr", DMI_PRODUCT_VERSION }, + { "sku", DMI_PRODUCT_SKU }, { "rvn", DMI_BOARD_VENDOR }, { "rn", DMI_BOARD_NAME }, { "rvr", DMI_BOARD_VERSION },
Signature · 1 line
2.25.1
Jean Delvare
AppliedHi Kai-Chuan,
Quoted 15 lines · Kai-Chuan Hsieh
Some Dell platforms rely on modalias to customize configuration, the product sku can be more specific for the hardware.
Add
product_skuto modalias for better utilization.Signed-off-by Kai-Chuan Hsieh <[email protected]>--- drivers/firmware/dmi-id.c | 1 + 1 file changed, 1 insertion(+)drivers/firmware/dmi-id.c +0
-0
drivers/firmware/dmi-id.c static ssize_t get_modalias(char *buffer, size_t buffer_size) · line 91
Quoted 7 lines
drivers/firmware/dmi-id.c +1
-0@@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size) { "svn", DMI_SYS_VENDOR }, { "pn", DMI_PRODUCT_NAME }, { "pvr", DMI_PRODUCT_VERSION }, + { "sku", DMI_PRODUCT_SKU }, { "rvn", DMI_BOARD_VENDOR }, { "rn", DMI_BOARD_NAME }, { "rvr", DMI_BOARD_VERSION },
Applied, thanks.
For your future submissions, I invite you to readDocumentation/process/submitting-patches.rst
Specifically, when submitting a new version of a patch, please:
* Replace [PATCH] with [PATCH v2] in the subject.
* Do not reply to the previous version of the patch, instead start a new thread.
* Ideally, include a list of changes from previous version, between the "---" marker and the diffstat.
Thanks,
Signature · 2 lines
Jean Delvare SUSE L3 Support
Hello Jean,
Thanks for your reminder, I'll read the document for future submission. Sorry for not following the rule this time.
Thanks,
KaiChuan
Quoted 40 lines · Jean Delvare
Hi Kai-Chuan,
Quoted 15 lines · Kai-Chuan Hsieh
Some Dell platforms rely on modalias to customize configuration, the product sku can be more specific for the hardware.
Add
product_skuto modalias for better utilization.Signed-off-by Kai-Chuan Hsieh <[email protected]>--- drivers/firmware/dmi-id.c | 1 + 1 file changed, 1 insertion(+)drivers/firmware/dmi-id.c +0
-0drivers/firmware/dmi-id.c static ssize_t get_modalias(char *buffer, size_t buffer_size) · line 91
Quoted 7 lines
drivers/firmware/dmi-id.c +1
-0@@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size) { "svn", DMI_SYS_VENDOR }, { "pn", DMI_PRODUCT_NAME }, { "pvr", DMI_PRODUCT_VERSION }, + { "sku", DMI_PRODUCT_SKU }, { "rvn", DMI_BOARD_VENDOR }, { "rn", DMI_BOARD_NAME }, { "rvr", DMI_BOARD_VERSION },Applied, thanks.
For your future submissions, I invite you to read
Documentation/process/submitting-patches.rstSpecifically, when submitting a new version of a patch, please:
* Replace [PATCH] with [PATCH v2] in the subject.
* Do not reply to the previous version of the patch, instead start a new thread.
* Ideally, include a list of changes from previous version, between the "---" marker and the diffstat.Thanks,