]> 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)
commitdfce1bab8fdc2a2603a896ed836905ba63f13384
tree8e7aa8905fa713fb842f41b621521281e8d062f4
parentc54da4c1acb1d62b3aec36b18473c430675e26d4
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