Re: [PATCH v3 2/2] dell-laptop: Expose auxiliary MAC address if available

From: MichaÅ KÄpieÅ
Date: Thu May 12 2016 - 07:31:26 EST


> Mical - if you think patch 1/2 could still be useful to have as a general interface I'll update it for your other comments and get it resubmitted.

If there is no practical use for it today, then let's call it quits for
now. Once the need emerges, you can simply pick up where you left off.

> We do mirror the information in ACPI under the system bus:
>
> Scope (_SB)
> {
> Name (AMAC, Buffer (0x17)
> {
> "_AUXMAC_#847BEB5992D2#"
> })
> }
>
> I don't know how to properly access this from the kernel side. I noticed that most drivers that reference ACPI nodes refer to devices, not something hanging off the system bus.
> If you could advise the right way to go about that, I would appreciate it.
>
> If I can access that, maybe it's better to do this directly as a patch to the Ethernet driver in question (r8152).

As Pali said, this sounds like the cleaner option.

--
Best regards,
MichaÅ KÄpieÅ