All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] hwmon: (applesmc) Add DMI product matches for Intel-based Xserves (non-RackMac*)
@ 2020-11-30 21:06 Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-11-30 21:06 UTC (permalink / raw)
  To: Joe Jamison; +Cc: rydberg, jdelvare, linux-hwmon, linux-kernel, joe

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH] hwmon: (applesmc) Add DMI product matches for Intel-based Xserves (non-RackMac*)
@ 2020-11-28 16:54 Joe Jamison
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Jamison @ 2020-11-28 16:54 UTC (permalink / raw)
  To: rydberg, jdelvare, linux, linux-hwmon, linux-kernel; +Cc: joe, joeJamison717

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>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-30 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-30 21:06 [PATCH] hwmon: (applesmc) Add DMI product matches for Intel-based Xserves (non-RackMac*) Guenter Roeck
  -- strict thread matches above, loose matches on Subject: below --
2020-11-28 16:54 Joe Jamison

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.