Module Name:    src
Committed By:   martin
Date:           Fri Sep 13 21:13:08 UTC 2013

Modified Files:
        src/sys/dev/pci: if_sk.c

Log Message:
#ifdef a variable like their use


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/if_sk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_sk.c
diff -u src/sys/dev/pci/if_sk.c:1.74 src/sys/dev/pci/if_sk.c:1.75
--- src/sys/dev/pci/if_sk.c:1.74	Tue Jun 11 16:37:10 2013
+++ src/sys/dev/pci/if_sk.c	Fri Sep 13 21:13:08 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_sk.c,v 1.74 2013/06/11 16:37:10 msaitoh Exp $	*/
+/*	$NetBSD: if_sk.c,v 1.75 2013/09/13 21:13:08 martin Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -115,7 +115,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sk.c,v 1.74 2013/06/11 16:37:10 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sk.c,v 1.75 2013/09/13 21:13:08 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2304,9 +2304,12 @@ sk_intr_xmac(struct sk_if_softc	*sc_if)
 void
 sk_intr_yukon(struct sk_if_softc *sc_if)
 {
+#ifdef SK_DEBUG
 	int status;
 
-	status = SK_IF_READ_2(sc_if, 0, SK_GMAC_ISR);
+	status = 
+#endif
+		SK_IF_READ_2(sc_if, 0, SK_GMAC_ISR);
 
 	DPRINTFN(3, ("sk_intr_yukon status=%#x\n", status));
 }

Reply via email to