Lincoln60: Add a network enabled NXH configuration (still does not yet build)

This commit is contained in:
Gregory Nutt 2015-06-03 18:48:08 -06:00
parent 7677cf72eb
commit 03562269d4
2 changed files with 6 additions and 6 deletions

View File

@ -686,15 +686,15 @@ config NET_EMACRAM_SIZE
config NET_NTXDESC
int "Number of Tx descriptors"
default 18
default 13
---help---
Configured number of Tx descriptors. Default: 18
Configured number of Tx descriptors. Default: 13
config NET_NRXDESC
int "Number of Rx descriptors"
default 18
default 13
---help---
Configured number of Rx descriptors. Default: 18
Configured number of Rx descriptors. Default: 13
config NET_PRIORITY
int "Ethernet interrupt priority"

View File

@ -183,7 +183,7 @@
# define LPC17_PHYID1 MII_PHYID1_KS8721
# define LPC17_PHYID2 MII_PHYID2_KS8721
# define LPC17_HAVE_PHY 1
#if defined(CONFIG_ETH0_PHY_KSZ8041)
#elif defined(CONFIG_ETH0_PHY_KSZ8041)
# define LPC17_PHYNAME "KSZ8041"
# define LPC17_PHYID1 MII_PHYID1_KSZ8041
# define LPC17_PHYID2 MII_PHYID2_KSZ8041
@ -2797,7 +2797,7 @@ static inline int lpc17_phyinit(struct lpc17_driver_s *priv)
return -ENODEV;
}
#if defined(CONFIG_ETH0_PHY_KSZ8041)
#elif defined(CONFIG_ETH0_PHY_KSZ8041)
phyreg = lpc17_phyread(phyaddr, MII_KSZ8041_PHYCTRL2);
switch (phyreg & MII_PHYCTRL2_MODE_MASK)