stmmac: pci: Make stmmac_pci_find_phy_addr truly generic
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 22 Jun 2017 06:17:59 +0000 (08:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jun 2017 17:39:56 +0000 (13:39 -0400)
commitc5f657e49c878756f21349f9e4b0f1c9631d5352
treedc028d15a42feb2f99cce285f70fce94d8d5063d
parentb6a4c8f013ea2dd1ead7ee14b44712189a7bc6c6
stmmac: pci: Make stmmac_pci_find_phy_addr truly generic

Move the special case for the early Galileo firmware into
quark_default_setup. This allows to use stmmac_pci_find_phy_addr for
non-quark cases.

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