freebsd_network: Disable IFMEDIA_DEBUG.
It is not really that useful to print most of this information by default and it just fills up syslogs unnecessarily.
This commit is contained in:
@@ -64,9 +64,11 @@
|
|||||||
* Useful for debugging newly-ported drivers.
|
* Useful for debugging newly-ported drivers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define IFMEDIA_DEBUG
|
//#define IFMEDIA_DEBUG
|
||||||
#ifdef IFMEDIA_DEBUG
|
#ifdef IFMEDIA_DEBUG
|
||||||
# define TRACE(x...) dprintf(x)
|
# define TRACE(x...) dprintf(x)
|
||||||
|
|
||||||
|
static void ifmedia_printword(int);
|
||||||
#else
|
#else
|
||||||
# define TRACE(x...) ;
|
# define TRACE(x...) ;
|
||||||
#endif
|
#endif
|
||||||
@@ -74,8 +76,6 @@
|
|||||||
static struct ifmedia_entry *ifmedia_match(struct ifmedia *ifm,
|
static struct ifmedia_entry *ifmedia_match(struct ifmedia *ifm,
|
||||||
int flags, int mask);
|
int flags, int mask);
|
||||||
|
|
||||||
static void ifmedia_printword(int);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize if_media struct for a specific interface instance.
|
* Initialize if_media struct for a specific interface instance.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user