net: ftgmac100: Add support for board specific PHY interface address
authorThirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Tue, 18 Aug 2020 00:08:26 +0000 (17:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 20:48:18 +0000 (16:48 -0400)
commit66e036bab503cddd6afbfecc8b7fcd8941d8bd7d
tree4947d2c51ba36d484d7563ea45e58cb49e25b402
parentd63c14cc3f24f56139bd385b0c35c9b264f0e83b
net: ftgmac100: Add support for board specific PHY interface address

ftgmac100 driver is using hard-coded PHY interface address of zero.
Each board can have different PHY interface address (phy_addr).
This commit modifies the driver to make use of board specific address
by leveraging CONFIG_PHY_ADDR.

Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
drivers/net/ftgmac100.c