ipq6018: drivers: net: Fix net driver

Change-Id: I23963835bd599cb49abae4640645fd0b63a634f4
Signed-off-by: speriaka <speriaka@codeaurora.org>
This commit is contained in:
speriaka 2019-05-10 12:58:22 +05:30
parent 345ae64c7c
commit f550f0d1ee
4 changed files with 12 additions and 6 deletions

View file

@ -88,13 +88,21 @@ CONFIG_CMD_NET=y
# CONFIG_CMD_TFTPSRV is not set
# CONFIG_CMD_RARP is not set
# CONFIG_CMD_DHCP is not set
CONFIG_CMD_NFS=y
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_PING is not set
# CONFIG_CMD_CDP is not set
# CONFIG_CMD_SNTP is not set
# CONFIG_CMD_DNS is not set
# CONFIG_CMD_LINK_LOCAL is not set
#
# Network PHY
#
CONFIG_QCA8075_PHY=y
CONFIG_QCA8033_PHY=y
CONFIG_QCA8081_PHY=y
CONFIG_IPQ6018_QCA_AQUANTIA_PHY=y
#
# Misc commands
#

View file

@ -91,3 +91,4 @@ obj-$(CONFIG_QCA8075_PHY) += ipq_common/ipq_qca8075.o
obj-$(CONFIG_QCA8033_PHY) += ipq_common/ipq_qca8033.o
obj-$(CONFIG_QCA8081_PHY) += ipq_common/ipq_qca8081.o
obj-$(CONFIG_QCA_AQUANTIA_PHY) += ipq807x/ipq807x_aquantia_phy.o
obj-$(CONFIG_IPQ6018_QCA_AQUANTIA_PHY) += ipq6018/ipq6018_aquantia_phy.o

View file

@ -1878,7 +1878,7 @@ int ipq6018_edma_init(void *edma_board_cfg)
ipq_qca8081_phy_init(&ipq6018_edma_dev[i]->ops[phy_id], phy_addr);
break;
#endif
#ifdef CONFIG_QCA_AQUANTIA_PHY
#ifdef CONFIG_IPQ6018_QCA_AQUANTIA_PHY
case AQUANTIA_PHY_107:
case AQUANTIA_PHY_109:
case AQUANTIA_PHY_111:
@ -1886,7 +1886,7 @@ int ipq6018_edma_init(void *edma_board_cfg)
case AQUANTIA_PHY_111B0:
case AQUANTIA_PHY_112C:
ipq_board_fw_download(phy_addr);
ipq_qca_aquantia_phy_init(&ipq807x_edma_dev[i]->ops[phy_id], phy_addr);
ipq_qca_aquantia_phy_init(&ipq6018_edma_dev[i]->ops[phy_id], phy_addr);
break;
#endif
default:

View file

@ -308,9 +308,6 @@ extern loff_t board_env_size;
#define CONFIG_SERVERIP 192.168.10.1
#define CONFIG_CMD_TFTPPUT
#define CONFIG_IPQ_MDIO 1
#define CONFIG_QCA8075_PHY 1
#define CONFIG_QCA8033_PHY 1
#define CONFIG_QCA8081_PHY 1
#define CONFIG_IPQ_ETH_INIT_DEFER
/*