]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Allow filtering on debug traces in the net subsystem
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 08:01:04 +0000 (08:01 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:53:08 +0000 (17:53 -0500)
commit4ef8d53caadbab5585ccb4df2d087183b1383b86
tree5e4aeca8a2c86a983f08d573405594c68691db7e
parentc697576262be11ddab48e1890428495e2fef1751
net: Allow filtering on debug traces in the net subsystem

Add several levels of DEBUG prints so that you can limit the noise to
the severety of your problem.

DEBUG_LL_STATE = Link local state machine changes
DEBUG_DEV_PKT = Packets or info directed to the device
DEBUG_NET_PKT = Packets on info on the network at large
DEBUG_INT_STATE = Internal network state changes

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/netconsole.c
include/common.h
include/net.h
net/arp.c
net/link_local.c
net/net.c
net/ping.c
net/rarp.c