bnx2x: Minor code improvements
authorEilon Greenstein <eilong@broadcom.com>
Wed, 13 Aug 2008 22:58:49 +0000 (15:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Aug 2008 23:05:36 +0000 (16:05 -0700)
Minor code improvements
Small changes to make the code a little bit more efficient and mostly
more readable:
- Using unified macros for EMAC_RD/WR which looks like normal REG_RD/WR
- Removing the NIG_WR since it did nothing and was only confusing
- On bnx2x_panic_dump, print only the used parts of the rings
- define parameters only on the branch they are needed and not at the
  beginning of the function
- using NETIF_MSG_INTR and not private BNX2X_MSG_SP for debug prints

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found