will be required to manage the device nodes.
 
          If you are unsure about this, say N here.
+
+config DVB_DEMUX_SECTION_LOSS_LOG
+       bool "Enable DVB demux section packet loss log"
+       depends on DVB_CORE
+       default n
+       help
+         Enable extra log messages meant to detect packet loss
+         inside the Kernel.
+
+         Should not be enabled on normal cases, as logs can
+         be very verbose.
+
+         If you are unsure about this, say N here.
 
 #include "dvb_demux.h"
 
 #define NOBUFS
-/*
-** #define DVB_DEMUX_SECTION_LOSS_LOG to monitor payload loss in the syslog
-*/
-// #define DVB_DEMUX_SECTION_LOSS_LOG
 
 static int dvb_demux_tscheck;
 module_param(dvb_demux_tscheck, int, 0644);
 {
        struct dmx_section_feed *sec = &feed->feed.sec;
 
-#ifdef DVB_DEMUX_SECTION_LOSS_LOG
+#ifdef CONFIG_DVB_DEMUX_SECTION_LOSS_LOG
        if (sec->secbufp < sec->tsfeedp) {
                int i, n = sec->tsfeedp - sec->secbufp;
 
                return 0;
 
        if (sec->tsfeedp + len > DMX_MAX_SECFEED_SIZE) {
-#ifdef DVB_DEMUX_SECTION_LOSS_LOG
+#ifdef CONFIG_DVB_DEMUX_SECTION_LOSS_LOG
                dprintk("dvb_demux.c section buffer full loss: %d/%d\n",
                       sec->tsfeedp + len - DMX_MAX_SECFEED_SIZE,
                       DMX_MAX_SECFEED_SIZE);
                /* dump [secbuf .. secbuf+seclen) */
                if (feed->pusi_seen)
                        dvb_dmx_swfilter_section_feed(feed);
-#ifdef DVB_DEMUX_SECTION_LOSS_LOG
+#ifdef CONFIG_DVB_DEMUX_SECTION_LOSS_LOG
                else
                        dprintk("dvb_demux.c pusi not seen, discarding section data\n");
 #endif
        }
 
        if (!ccok || dc_i) {
-#ifdef DVB_DEMUX_SECTION_LOSS_LOG
+#ifdef CONFIG_DVB_DEMUX_SECTION_LOSS_LOG
                dprintk("dvb_demux.c discontinuity detected %d bytes lost\n",
                        count);
                /*
                        dvb_dmx_swfilter_section_copy_dump(feed, after,
                                                           after_len);
                }
-#ifdef DVB_DEMUX_SECTION_LOSS_LOG
+#ifdef CONFIG_DVB_DEMUX_SECTION_LOSS_LOG
                else if (count > 0)
                        dprintk("dvb_demux.c PUSI=1 but %d bytes lost\n",
                                count);