summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/e1000_osdep.h
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2013-02-21 00:25:45 +0000
committerjfv <jfv@FreeBSD.org>2013-02-21 00:25:45 +0000
commitbc67c0c4527ce6afb493c133aa64bce0a7e3c016 (patch)
treedeadb805b9a3f91a6d8def332a98bf84bffbbd5e /sys/dev/e1000/e1000_osdep.h
parent3c760430882730431f5870f23294cb580e98ea3f (diff)
downloadFreeBSD-src-bc67c0c4527ce6afb493c133aa64bce0a7e3c016.zip
FreeBSD-src-bc67c0c4527ce6afb493c133aa64bce0a7e3c016.tar.gz
Refresh on the shared code for the E1000 drivers.
- bear with me, there are lots of white space changes, I would not do them, but I am a mere consumer of this stuff and if these drivers are to stay in shape they need to be taken. em driver changes: support for the new i217/i218 interfaces igb driver changes: - TX mq start has a quick turnaround to the stack - Link/media handling improvement - When link status changes happen the current flow control state will now be displayed. - A few white space/style changes. lem driver changes: - the shared code uncovered a bogus write to the RLPML register (which does not exist in this hardware) in the vlan code,this is removed.
Diffstat (limited to 'sys/dev/e1000/e1000_osdep.h')
-rw-r--r--sys/dev/e1000/e1000_osdep.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/e1000/e1000_osdep.h b/sys/dev/e1000/e1000_osdep.h
index e6d131a..dd19613 100644
--- a/sys/dev/e1000/e1000_osdep.h
+++ b/sys/dev/e1000/e1000_osdep.h
@@ -1,6 +1,6 @@
/******************************************************************************
- Copyright (c) 2001-2010, Intel Corporation
+ Copyright (c) 2001-2013, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,7 +66,8 @@
#define MSGOUT(S, A, B) printf(S "\n", A, B)
#define DEBUGFUNC(F) DEBUGOUT(F);
#define DEBUGOUT(S) do {} while (0)
-#define DEBUGOUT1(S,A) do {} while (0)
+/* This define is needed or shared code will not build */
+#define DEBUGOUT1(S,A) if (0) printf(S,A);
#define DEBUGOUT2(S,A,B) do {} while (0)
#define DEBUGOUT3(S,A,B,C) do {} while (0)
#define DEBUGOUT7(S,A,B,C,D,E,F,G) do {} while (0)
OpenPOWER on IntegriCloud