Print this page
6064 ixgbe needs X550 support

*** 24,33 **** --- 24,37 ---- /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved. + */ + #ifndef _IXGBE_DEBUG_H #define _IXGBE_DEBUG_H #ifdef __cplusplus extern "C" {
*** 88,105 **** #define DEBUGOUT3(S, A, B, C) \ IXGBE_DEBUGLOG_3(NULL, S, A, B, C) #define DEBUGOUT6(S, A, B, C, D, E, F) \ IXGBE_DEBUGLOG_6(NULL, S, A, B, C, D, E, F) /* * DEBUGFUNC() is used to print the function call information, however since ! * Dtrace in Solaris can be used to trace function calls, this function is ! * not useful in Solaris, and DEBUGFUNC() can spam a large number of * function call system logs (see CR6918426). We sould eliminate * DEBUGFUNC(), but since DEBUGFUNC() is used by the shared code * (maintained by Intel) which is used and shared by ixgbe drivers in ! * different OSes, we can not remove it, so in Solaris just simply define * it as blank. */ #define DEBUGFUNC(F) #else --- 92,113 ---- #define DEBUGOUT3(S, A, B, C) \ IXGBE_DEBUGLOG_3(NULL, S, A, B, C) #define DEBUGOUT6(S, A, B, C, D, E, F) \ IXGBE_DEBUGLOG_6(NULL, S, A, B, C, D, E, F) + #define ERROR_REPORT1(S, A) DEBUGOUT1(S, A) + #define ERROR_REPORT2(S, A, B) DEBUGOUT2(S, A, B) + #define ERROR_REPORT3(S, A, B, C) DEBUGOUT3(S, A, B, C) + /* * DEBUGFUNC() is used to print the function call information, however since ! * Dtrace in illumos can be used to trace function calls, this function is ! * not useful in illumos, and DEBUGFUNC() can spam a large number of * function call system logs (see CR6918426). We sould eliminate * DEBUGFUNC(), but since DEBUGFUNC() is used by the shared code * (maintained by Intel) which is used and shared by ixgbe drivers in ! * different OSes, we can not remove it, so in illumos just simply define * it as blank. */ #define DEBUGFUNC(F) #else
*** 108,117 **** --- 116,129 ---- #define DEBUGOUT1(S, A) #define DEBUGOUT2(S, A, B) #define DEBUGOUT3(S, A, B, C) #define DEBUGOUT6(S, A, B, C, D, E, F) + #define ERROR_REPORT1(S, A) + #define ERROR_REPORT2(S, A, B) + #define ERROR_REPORT3(S, A, B, C) + #define DEBUGFUNC(F) #endif /* IXGBE_DEBUG */ extern void ixgbe_log(void *, const char *, ...);