stmmac: pci: Use dmi_system_id table for retrieving PHY addresses
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 22 Jun 2017 06:18:01 +0000 (08:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jun 2017 17:39:57 +0000 (13:39 -0400)
commit8d78b69091845386b6096f3adae98f28b9bf96ed
treeb48f5d087cdae95416cf61b7d6db39166a78e970
parent7bc519b3ea04026877242328d2fe73cc8e6102bd
stmmac: pci: Use dmi_system_id table for retrieving PHY addresses

Avoids reimplementation of DMI matching in stmmac_pci_find_phy_addr.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c