Date: Tue, 21 Apr 2015 10:35:24 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281824 - in head/sys: conf net Message-ID: <201504211035.t3LAZO4D007682@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Tue Apr 21 10:35:23 2015 New Revision: 281824 URL: https://svnweb.freebsd.org/changeset/base/281824 Log: Make IFMEDIA_DEBUG a kernel option. Sponsored by: Nginx, Inc. Modified: head/sys/conf/NOTES head/sys/conf/options head/sys/net/if_media.c Modified: head/sys/conf/NOTES ============================================================================== --- head/sys/conf/NOTES Tue Apr 21 10:17:25 2015 (r281823) +++ head/sys/conf/NOTES Tue Apr 21 10:35:23 2015 (r281824) @@ -2836,6 +2836,7 @@ options INIT_PATH=/sbin/init:/rescue/in options BUS_DEBUG # enable newbus debugging options DEBUG_VFS_LOCKS # enable VFS lock debugging options SOCKBUF_DEBUG # enable sockbuf last record/mb tail checking +options IFMEDIA_DEBUG # enable debugging in net/if_media.c # # Verbose SYSINIT Modified: head/sys/conf/options ============================================================================== --- head/sys/conf/options Tue Apr 21 10:17:25 2015 (r281823) +++ head/sys/conf/options Tue Apr 21 10:35:23 2015 (r281824) @@ -553,6 +553,7 @@ LPT_DEBUG opt_lpt.h PLIP_DEBUG opt_plip.h LOCKF_DEBUG opt_debug_lockf.h SI_DEBUG opt_debug_si.h +IFMEDIA_DEBUG opt_ifmedia.h # Fb options FB_DEBUG opt_fb.h Modified: head/sys/net/if_media.c ============================================================================== --- head/sys/net/if_media.c Tue Apr 21 10:17:25 2015 (r281823) +++ head/sys/net/if_media.c Tue Apr 21 10:35:23 2015 (r281824) @@ -46,6 +46,8 @@ * to implement this interface. */ +#include "opt_ifmedia.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/socket.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504211035.t3LAZO4D007682>