platform/x86: thinkpad_acpi: sysfs interface to auxmac
authorFernando Eckhardt Valle <fevalle@ipt.br>
Tue, 26 Sep 2023 20:21:44 +0000 (17:21 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 28 Sep 2023 10:12:36 +0000 (13:12 +0300)
commit18801efed74a671f5c3bd1869739854cf2a5568f
treee55d2b9a3e55f1d0879f666c0a68530b8b26ba30
parent9cf63f3a33e929f7eca36409914b8c12102b9984
platform/x86: thinkpad_acpi: sysfs interface to auxmac

Newer Thinkpads have a feature called MAC Address Pass-through.
This patch provides a sysfs interface that userspace can use
to get this auxiliary mac address.

Signed-off-by: Fernando Eckhardt Valle <fevalle@ipt.br>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230926202144.5906-1-fevalle@ipt.br
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/admin-guide/laptops/thinkpad-acpi.rst
drivers/platform/x86/thinkpad_acpi.c