diff options
author | Joe Jamison <joejamison717@gmail.com> | 2020-11-28 17:54:03 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-12-03 02:42:24 +0100 |
commit | 6cbf7964b4af7952add97f440a6ceb6564451897 (patch) | |
tree | 16d444a5bce7273f31f26c4cfbf20b0753a36d3f /drivers/hwmon | |
parent | hwmon: (pwm-fan) Convert to hwmon_device_register_with_info API (diff) | |
download | linux-6cbf7964b4af7952add97f440a6ceb6564451897.tar.xz linux-6cbf7964b4af7952add97f440a6ceb6564451897.zip |
hwmon: (applesmc) Add DMI product matches for Intel-based Xserves (non-RackMac*)
This patch adds the DMI Product ID for Intel-based Xserve machines.
They use the same SMC accessible from the same data ports.
The 'Xserve' product ID only resolves to SMC-containing
Intel-based Xserves, as the PowerPC machines are identified
by the 'RackMac' identifier.
Tested on: Xserve3,1
Tested-by: Joe Jamison <joe@smaklab.com> # Xserve3,1
Signed-off-by: Joe Jamison <joe@smaklab.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/applesmc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c index 79b498f816fe..89207af81c48 100644 --- a/drivers/hwmon/applesmc.c +++ b/drivers/hwmon/applesmc.c @@ -1299,6 +1299,10 @@ static const struct dmi_system_id applesmc_whitelist[] __initconst = { DMI_MATCH(DMI_BOARD_VENDOR, "Apple"), DMI_MATCH(DMI_PRODUCT_NAME, "iMac") }, }, + { applesmc_dmi_match, "Apple Xserve", { + DMI_MATCH(DMI_BOARD_VENDOR, "Apple"), + DMI_MATCH(DMI_PRODUCT_NAME, "Xserve") }, + }, { .ident = NULL } }; |