diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-03 11:40:29 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-03 11:40:29 -0600 |
commit | 521c4f082ab274ab0b4251552db2c78cf1b68e9f (patch) | |
tree | 0a542375750a0fea59d6728c58d420c869731b31 /nuttx/arch/z80 | |
parent | 754a905dddb9a697476da1d52a75cb50901bb095 (diff) | |
download | nuttx-521c4f082ab274ab0b4251552db2c78cf1b68e9f.tar.gz nuttx-521c4f082ab274ab0b4251552db2c78cf1b68e9f.tar.bz2 nuttx-521c4f082ab274ab0b4251552db2c78cf1b68e9f.zip |
onfigs/ez80f910200zco/nettest: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r-- | nuttx/arch/z80/Kconfig | 5 | ||||
-rw-r--r-- | nuttx/arch/z80/src/ez80/Kconfig | 2 | ||||
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_emac.c | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/nuttx/arch/z80/Kconfig b/nuttx/arch/z80/Kconfig index b8b20c6f9..f1a9b5ce6 100644 --- a/nuttx/arch/z80/Kconfig +++ b/nuttx/arch/z80/Kconfig @@ -497,21 +497,18 @@ config ARCH_CHIP_Z8F6423 config ARCH_CHIP_EZ80F91 bool "EZ80F91" select ARCH_CHIP_EZ80 - select HAVE_LOWSERIALINIT ---help--- ZiLOG EZ80F91 (ez80 Acclaim) config ARCH_CHIP_EZ80F92 bool "EZ80F92" select ARCH_CHIP_EZ80 - select HAVE_LOWSERIALINIT ---help--- ZiLOG EZ80F92 (ez80 Acclaim) config ARCH_CHIP_EZ80F93 bool "EZ80F93" select ARCH_CHIP_EZ80 - select HAVE_LOWSERIALINIT ---help--- ZiLOG EZ80F93 (ez80 Acclaim) @@ -552,6 +549,8 @@ config ARCH_CHIP_Z8 config ARCH_CHIP_EZ80 bool + select HAVE_LOWSERIALINIT + select ARCH_HAVE_PHY config HAVE_LOWSERIALINIT bool diff --git a/nuttx/arch/z80/src/ez80/Kconfig b/nuttx/arch/z80/src/ez80/Kconfig index 76cdd5f9f..d67818a14 100644 --- a/nuttx/arch/z80/src/ez80/Kconfig +++ b/nuttx/arch/z80/src/ez80/Kconfig @@ -50,7 +50,7 @@ hex "PHY Address" Provides the MII address of the PHY device # Belongs in net/Kconfig as PHY_AM79C874 -# EZ80_PHYAM79C874 - Define for Am79c874 PHY +# ETH0_PHY_AM79C874 - Define for Am79c874 PHY config EZ80_PHYCONFIG int "PHY Configuration" diff --git a/nuttx/arch/z80/src/ez80/ez80_emac.c b/nuttx/arch/z80/src/ez80/ez80_emac.c index 23542e279..727003677 100644 --- a/nuttx/arch/z80/src/ez80/ez80_emac.c +++ b/nuttx/arch/z80/src/ez80/ez80_emac.c @@ -150,7 +150,7 @@ */ #ifndef CONFIG_EZ80_MDCDIV -# ifdef CONFIG_EZ80_PHYAM79C874 +# ifdef CONFIG_ETH0_PHY_AM79C874 # define CONFIG_EZ80_MDCDIV EMAC_MDC_DIV20 # else # define CONFIG_EZ80_MDCDIV EMAC_MDC_DIV4 @@ -556,7 +556,7 @@ static bool ez80emac_miipoll(FAR struct ez80emac_driver_s *priv, uint32_t offset * ****************************************************************************/ -#ifdef CONFIG_EZ80_PHYAM79C874 +#ifdef CONFIG_ETH0_PHY_AM79C874 static int ez80emac_miiconfigure(FAR struct ez80emac_driver_s *priv) { uint16_t phyval; |