提交 cdaa7cb8 编写于 作者: V Vladislav Zolotarov 提交者: David S. Miller

bnx2x: White spaces

White spaces, code readability and prints.
Signed-off-by: NVladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2145a920
...@@ -83,7 +83,12 @@ do { \ ...@@ -83,7 +83,12 @@ do { \
__func__, __LINE__, \ __func__, __LINE__, \
bp->dev ? (bp->dev->name) : "?", \ bp->dev ? (bp->dev->name) : "?", \
##__args); \ ##__args); \
} while (0) } while (0)
#define BNX2X_ERROR(__fmt, __args...) do { \
pr_err("[%s:%d]" __fmt, __func__, __LINE__, ##__args); \
} while (0)
/* before we have a dev->name use dev_info() */ /* before we have a dev->name use dev_info() */
#define BNX2X_DEV_INFO(__fmt, __args...) \ #define BNX2X_DEV_INFO(__fmt, __args...) \
...@@ -975,6 +980,8 @@ struct bnx2x { ...@@ -975,6 +980,8 @@ struct bnx2x {
u16 rx_quick_cons_trip; u16 rx_quick_cons_trip;
u16 rx_ticks_int; u16 rx_ticks_int;
u16 rx_ticks; u16 rx_ticks;
/* Maximal coalescing timeout in us */
#define BNX2X_MAX_COALESCE_TOUT (0xf0*12)
u32 lin_cnt; u32 lin_cnt;
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册