OSDN Git Service

bnx2x: semi-Semantic changes
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 2 Jun 2013 00:06:21 +0000 (00:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2013 04:36:47 +0000 (21:36 -0700)
commit639d65b85592cf31eca24f33ff00e309ebbf0d2b
tree5ea4dabc770e19498d1e43827d66b4c882d2deee
parent6bf07b8e3666257c5172ab1681b377e547747d9b
bnx2x: semi-Semantic changes

This patch includes a few changes that change the driver's flow without truly
changing anything in its functionality - use usleep_range for short sleeps
instead of msleep and initialize Tx consumer during initialization for better
information during errors.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c