mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
ag71xx driver: add Kconfig option for enabling debug messages
SVN-Revision: 14517
This commit is contained in:
parent
15c5122e64
commit
df267a8e2e
@ -3,6 +3,7 @@ CONFIG_32BIT=y
|
||||
# CONFIG_8139TOO is not set
|
||||
CONFIG_ADM6996_PHY=y
|
||||
CONFIG_AG71XX=y
|
||||
# CONFIG_AG71XX_DEBUG is not set
|
||||
# CONFIG_AR71XX_EARLY_SERIAL is not set
|
||||
CONFIG_AR71XX_MACH_AP83=y
|
||||
CONFIG_AR71XX_MACH_AW_NR580=y
|
||||
|
@ -5,3 +5,10 @@ config AG71XX
|
||||
help
|
||||
If you wish to compile a kernel for AR71xx/91xx and enable
|
||||
ethernet support, then you should always answer Y to this.
|
||||
|
||||
config AG71XX_DEBUG
|
||||
bool "Atheros AR71xx built-in ethernet driver debugging"
|
||||
depends on AG71XX
|
||||
default n
|
||||
help
|
||||
Atheros AR71xx built-in ethernet driver debugging messages.
|
||||
|
@ -63,8 +63,7 @@
|
||||
|
||||
#define AG71XX_RX_RING_SIZE 128
|
||||
|
||||
#undef AG71XX_DEBUG
|
||||
#ifdef AG71XX_DEBUG
|
||||
#ifdef CONFIG_AG71XX_DEBUG
|
||||
#define DBG(fmt, args...) printk(KERN_DEBUG fmt, ## args)
|
||||
#else
|
||||
#define DBG(fmt, args...) do {} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user