Kconfig: Move the ARCH_PHY_INTERRUPT option to net/Kconfig and make it
unconditionally selectable.
This commit is contained in:
parent
04128b4570
commit
10721c0826
3 changed files with 13 additions and 13 deletions
|
@ -1320,7 +1320,7 @@ config ARCH_BOARD_SAMA5D3X_EK
|
|||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAMA5D3x-EK development board (where x=1,3,4, or 5).
|
||||
|
||||
|
@ -1330,7 +1330,7 @@ config ARCH_BOARD_SAMA5D3_XPLAINED
|
|||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES && (SAMA5_EMACA || SAMA5_EMAC0 || SAMA5_EMAC1 || SAMA5_GMAC)
|
||||
select ARCH_PHY_INTERRUPT if SAMA5_EMACA || SAMA5_EMAC0 || SAMA5_EMAC1 || SAMA5_GMAC
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAMA5D3 Xplained development board.
|
||||
|
||||
|
@ -1340,7 +1340,7 @@ config ARCH_BOARD_SAMA5D4_EK
|
|||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAMA5D4-EK development board
|
||||
|
||||
|
@ -1407,7 +1407,7 @@ config ARCH_BOARD_SAM4EEK
|
|||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAM4E-EK development board. This
|
||||
board features the SAM4E16 MCU running at up to 120MHz.
|
||||
|
@ -1445,7 +1445,7 @@ config ARCH_BOARD_SAME70_XPLAINED
|
|||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAME70 Xplained evaluation board.
|
||||
|
||||
|
@ -1455,7 +1455,7 @@ config ARCH_BOARD_SAMV71_XULT
|
|||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAMV71 Xplained Ultra evaluation board.
|
||||
|
||||
|
@ -2030,7 +2030,7 @@ config BOARD_CUSTOM_INTERRUPT
|
|||
bool "Custom board PHY interrupts"
|
||||
default n
|
||||
depends on NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT if NETDEVICES
|
||||
select ARCH_PHY_INTERRUPT
|
||||
|
||||
endmenu # Custom Board Configuration
|
||||
endif #ARCH_BOARD_CUSTOM
|
||||
|
|
|
@ -339,10 +339,6 @@ if ARCH_HAVE_PHY
|
|||
|
||||
comment "External Ethernet PHY Device Support"
|
||||
|
||||
config ARCH_PHY_INTERRUPT
|
||||
bool
|
||||
default n
|
||||
|
||||
choice
|
||||
prompt "Board PHY Selection (ETH0)"
|
||||
default ETH0_PHY_NONE
|
||||
|
@ -380,7 +376,7 @@ config ETH0_PHY_DP83848C
|
|||
config ETH0_PHY_TJA1100
|
||||
bool "NXP TJA1100 PHY"
|
||||
select ARCH_PHY_100BASE_T1
|
||||
|
||||
|
||||
config ETH0_PHY_TJA1101
|
||||
bool "NXP TJA1101 PHY"
|
||||
select ARCH_PHY_100BASE_T1
|
||||
|
@ -436,7 +432,7 @@ config ETH1_PHY_DP83848C
|
|||
config ETH1_PHY_TJA1100
|
||||
bool "NXP TJA1100 PHY"
|
||||
select ARCH_PHY_100BASE_T1
|
||||
|
||||
|
||||
config ETH1_PHY_TJA1101
|
||||
bool "NXP TJA1101 PHY"
|
||||
select ARCH_PHY_100BASE_T1
|
||||
|
|
|
@ -11,6 +11,10 @@ config ARCH_HAVE_PHY
|
|||
bool
|
||||
default n
|
||||
|
||||
config ARCH_PHY_INTERRUPT
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_HAVE_NETDEV_STATISTICS
|
||||
bool
|
||||
default n
|
||||
|
|
Loading…
Reference in a new issue