From: Guenter Roeck <linux@roeck-us.net>
To: Joe Jamison <joejamison717@gmail.com>
Cc: rydberg@bitmath.org, jdelvare@suse.com,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
joe@smaklab.com
Subject: Re: [PATCH] hwmon: (applesmc) Add DMI product matches for Intel-based Xserves (non-RackMac*)
Date: Mon, 30 Nov 2020 13:06:44 -0800 [thread overview]
Message-ID: <20201130210644.GA41165@roeck-us.net> (raw)
On Sat, Nov 28, 2020 at 10:54:03AM -0600, Joe Jamison wrote:
> 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>
Applied.
Thanks,
Guenter
> ---
> drivers/hwmon/applesmc.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> 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 }
> };
>
> --
> 2.20.1
>
next reply other threads:[~2020-11-30 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-30 21:06 Guenter Roeck [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-11-28 16:54 Joe Jamison
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201130210644.GA41165@roeck-us.net \
--to=linux@roeck-us.net \
--cc=jdelvare@suse.com \
--cc=joe@smaklab.com \
--cc=joejamison717@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@bitmath.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome