Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled
This commit is contained in:
parent
694080ba47
commit
52b0a16cd3
@ -120,6 +120,7 @@ config SSI1_DISABLE
|
|||||||
config LM_ETHERNET
|
config LM_ETHERNET
|
||||||
bool "Stellaris Ethernet"
|
bool "Stellaris Ethernet"
|
||||||
default n
|
default n
|
||||||
|
select NETDEVICES
|
||||||
---help---
|
---help---
|
||||||
This must be set (along with NET) to build the Stellaris Ethernet driver.
|
This must be set (along with NET) to build the Stellaris Ethernet driver.
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ config LPC17_EMC
|
|||||||
|
|
||||||
config LPC17_ETHERNET
|
config LPC17_ETHERNET
|
||||||
bool "Ethernet"
|
bool "Ethernet"
|
||||||
select NET
|
select NETDEVICES
|
||||||
select ARCH_HAVE_PHY
|
select ARCH_HAVE_PHY
|
||||||
default n
|
default n
|
||||||
|
|
||||||
@ -684,13 +684,6 @@ config NET_REGDEBUG
|
|||||||
---help---
|
---help---
|
||||||
Enable low level register debug. Also needs DEBUG.
|
Enable low level register debug. Also needs DEBUG.
|
||||||
|
|
||||||
config NET_DUMPPACKET
|
|
||||||
bool "Enable packet dumping"
|
|
||||||
depends on DEBUG
|
|
||||||
default n
|
|
||||||
---help---
|
|
||||||
Dump all received and transmitted packets. Also needs DEBUG.
|
|
||||||
|
|
||||||
config NET_HASH
|
config NET_HASH
|
||||||
bool "Hashing"
|
bool "Hashing"
|
||||||
default n
|
default n
|
||||||
|
@ -160,12 +160,14 @@ config SAMA5_GMAC
|
|||||||
bool "Gigabit Ethernet MAC (GMAC)"
|
bool "Gigabit Ethernet MAC (GMAC)"
|
||||||
default n
|
default n
|
||||||
depends on SAMA5_HAVE_GMAC
|
depends on SAMA5_HAVE_GMAC
|
||||||
|
select NETDEVICES
|
||||||
select ARCH_HAVE_PHY
|
select ARCH_HAVE_PHY
|
||||||
|
|
||||||
config SAMA5_EMAC
|
config SAMA5_EMAC
|
||||||
bool "10/100MBps Ethernet MAC (EMAC)"
|
bool "10/100MBps Ethernet MAC (EMAC)"
|
||||||
default n
|
default n
|
||||||
depends on SAMA5_HAVE_EMAC
|
depends on SAMA5_HAVE_EMAC
|
||||||
|
select NETDEVICES
|
||||||
select ARCH_HAVE_PHY
|
select ARCH_HAVE_PHY
|
||||||
|
|
||||||
config SAMA5_LCDC
|
config SAMA5_LCDC
|
||||||
|
@ -573,7 +573,7 @@ config PIC32MX_CAN2
|
|||||||
config PIC32MX_ETHERNET
|
config PIC32MX_ETHERNET
|
||||||
bool "Ethernet"
|
bool "Ethernet"
|
||||||
default n
|
default n
|
||||||
select NET
|
select NETDEVICES
|
||||||
select ARCH_HAVE_PHY
|
select ARCH_HAVE_PHY
|
||||||
|
|
||||||
config PIC32MX_CTMU
|
config PIC32MX_CTMU
|
||||||
@ -981,13 +981,6 @@ config NET_WOL
|
|||||||
---help---
|
---help---
|
||||||
Enable Wake-up on LAN (not fully implemented).
|
Enable Wake-up on LAN (not fully implemented).
|
||||||
|
|
||||||
config NET_DUMPPACKET
|
|
||||||
bool "Dump packets"
|
|
||||||
default n
|
|
||||||
depends on PIC32MX_ETHERNET && DEBUG
|
|
||||||
---help---
|
|
||||||
Dump all received and transmitted packets. Also needs DEBUG.
|
|
||||||
|
|
||||||
config NET_REGDEBUG
|
config NET_REGDEBUG
|
||||||
bool "Register level debug"
|
bool "Register level debug"
|
||||||
default n
|
default n
|
||||||
|
Loading…
Reference in New Issue
Block a user