Permalink
Browse files

ixgbe: Define missing DEBUGOUT# macros.

DEBUGOUT[45] are not yet used but are being defined pre-emptively
to avoid future build breakage

Obtained-from: FreeBSD
  • Loading branch information...
François Tigeot
François Tigeot committed Oct 6, 2012
1 parent 172fb57 commit 875952bd94a468ce26a79d6adea2d311a3b2d7c0
Showing with 5 additions and 0 deletions.
  1. +5 −0 sys/dev/netif/ixgbe/ixgbe_osdep.h
@@ -67,13 +67,18 @@
#define DEBUGOUT1(S,A) kprintf(S "\n",A)
#define DEBUGOUT2(S,A,B) kprintf(S "\n",A,B)
#define DEBUGOUT3(S,A,B,C) kprintf(S "\n",A,B,C)
+ #define DEBUGOUT4(S,A,B,C,D) kprintf(S "\n",A,B,C,D)
+ #define DEBUGOUT5(S,A,B,C,D,E) kprintf(S "\n",A,B,C,D,E)
+ #define DEBUGOUT6(S,A,B,C,D,E,F) kprintf(S "\n",A,B,C,D,E,F)
#define DEBUGOUT6(S,A,B,C,D,E,F) kprintf(S "\n",A,B,C,D,E,F)
#define DEBUGOUT7(S,A,B,C,D,E,F,G) kprintf(S "\n",A,B,C,D,E,F,G)
#else
#define DEBUGOUT(S)
#define DEBUGOUT1(S,A)
#define DEBUGOUT2(S,A,B)
#define DEBUGOUT3(S,A,B,C)
+ #define DEBUGOUT4(S,A,B,C,D)
+ #define DEBUGOUT5(S,A,B,C,D,E)
#define DEBUGOUT6(S,A,B,C,D,E,F)
#define DEBUGOUT7(S,A,B,C,D,E,F,G)
#endif

0 comments on commit 875952b

Please sign in to comment.