Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / s390 / net / qeth_eddp.c
index a363721..38aad83 100644 (file)
@@ -8,6 +8,7 @@
  *    Author(s): Thomas Spatzier <tspat@de.ibm.com>
  *
  */
+#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/ip.h>
 #include <linux/inetdevice.h>
@@ -179,8 +180,9 @@ out_check:
                        flush_cnt++;
                }
        } else {
-               if (queue->card->options.performance_stats)
-                       queue->card->perf_stats.skbs_sent_pack++;
+#ifdef CONFIG_QETH_PERF_STATS
+               queue->card->perf_stats.skbs_sent_pack++;
+#endif
                QETH_DBF_TEXT(trace, 6, "fillbfpa");
                if (buf->next_element_to_fill >=
                                QETH_MAX_BUFFER_ELEMENTS(queue->card)) {