summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-11-14 16:04:16 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-11-14 16:04:16 +0000
commitbe12708dc6adb3e4ecf79d9d05c1f6ebc821a01d (patch)
tree3a3405ac3f9bba9d7d22a82eac88fda95c00ae5b
parentc4bcac4f7e964716af26bc0517a56517eafbc99b (diff)
re-add comment which is still valid for em_print_hw_stats().
-rw-r--r--sys/dev/pci/if_em.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 6900002bda3..aa9948c6ae0 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.87 2005/11/14 16:00:08 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.88 2005/11/14 16:04:15 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -2758,6 +2758,13 @@ em_update_stats_counters(struct em_softc *sc)
sc->watchdog_events;
}
+/**********************************************************************
+ *
+ * This routine is called only when em_display_debug_stats is enabled.
+ * This routine provides a way to take a look at important statistics
+ * maintained by the driver and hardware.
+ *
+ **********************************************************************/
void
em_print_hw_stats(struct em_softc *sc)
{