]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: enable using phylink with ACPI
authorMarcin Wojtas <mw@semihalf.com>
Mon, 21 Jun 2021 17:30:27 +0000 (19:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 16:54:55 +0000 (09:54 -0700)
commitca34c7545ef6d724ef51a3aac04b56d87b6fd4a7
tree8e7aa8905fa713fb842f41b621521281e8d062f4
parenta7e740b5939bb7d745f705f8daac6a7d20315302
net: mvpp2: enable using phylink with ACPI

Now that the MDIO and phylink are supported in the ACPI
world, enable to use them in the mvpp2 driver. Ensure a backward
compatibility with the firmware whose ACPI description does
not contain the necessary elements for the proper phy handling
and fall back to relying on the link interrupts instead.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c