projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3650b22
)
firmware/dmi: Include product_sku info to modalias
author
Kai-Chuan Hsieh
<kaichuan.hsieh@canonical.com>
Wed, 28 Oct 2020 08:51:50 +0000
(09:51 +0100)
committer
Jean Delvare
<jdelvare@suse.de>
Wed, 28 Oct 2020 08:51:50 +0000
(09:51 +0100)
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: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
drivers/firmware/dmi-id.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/firmware/dmi-id.c
b/drivers/firmware/dmi-id.c
index 86d71b0212b1bd74a3548f60cbd7c7a8dc464ca3..4d5421d14a410e8aedb9bb9ae94aa71051d2efc8 100644
(file)
--- a/
drivers/firmware/dmi-id.c
+++ b/
drivers/firmware/dmi-id.c
@@
-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 },