summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/igb/igb_debug.h
diff options
context:
space:
mode:
authorchenlu chen - Sun Microsystems - Beijing China <Chenlu.Chen@Sun.COM>2009-03-03 08:55:27 +0800
committerchenlu chen - Sun Microsystems - Beijing China <Chenlu.Chen@Sun.COM>2009-03-03 08:55:27 +0800
commitb8d0a37778010a5166d34bb0d192cf6b1b2f7bec (patch)
tree6a22e310da92e7ea657cb9669d9a3fb119014870 /usr/src/uts/common/io/igb/igb_debug.h
parentcedc7e57759c3abc0d051e6b986d12b2e840e85b (diff)
downloadillumos-gate-b8d0a37778010a5166d34bb0d192cf6b1b2f7bec.tar.gz
6722547 igb interface does not work if it is plumbed after the module is loaded
6804491 Intel Kawela support for pci8086,10e7 to be added to /etc/driver_aliases 6807784 igb loopback support for intel 82576 chip (kawela)
Diffstat (limited to 'usr/src/uts/common/io/igb/igb_debug.h')
-rw-r--r--usr/src/uts/common/io/igb/igb_debug.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/usr/src/uts/common/io/igb/igb_debug.h b/usr/src/uts/common/io/igb/igb_debug.h
index a21745537e..3026856360 100644
--- a/usr/src/uts/common/io/igb/igb_debug.h
+++ b/usr/src/uts/common/io/igb/igb_debug.h
@@ -1,7 +1,7 @@
/*
* CDDL HEADER START
*
- * Copyright(c) 2007-2008 Intel Corporation. All rights reserved.
+ * Copyright(c) 2007-2009 Intel Corporation. All rights reserved.
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
@@ -22,15 +22,13 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms of the CDDL.
*/
#ifndef _IGB_DEBUG_H
#define _IGB_DEBUG_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -51,8 +49,8 @@ extern "C" {
#define IGB_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \
igb_log((adapter), (fmt), (d1), (d2), (d3))
-#define IGB_DEBUG_STAT_COND(val, cond) if (cond) (val)++;
-#define IGB_DEBUG_STAT(val) (val)++;
+#define IGB_DEBUG_STAT_COND(val, cond) if (cond) (val)++
+#define IGB_DEBUG_STAT(val) (val)++
#else
@@ -66,7 +64,7 @@ extern "C" {
#endif /* IGB_DEBUG */
-#define IGB_STAT(val) (val)++;
+#define IGB_STAT(val) (val)++
#ifdef IGB_DEBUG