diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2008-08-13 15:58:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-13 16:05:36 -0700 |
commit | 3196a88a8593748bad24824ef5eb8e5aa99698c9 (patch) | |
tree | 2ed8c1557ec13fca018db1858b98ddd45697c7a6 /kernel/irq | |
parent | f0e53a847a4435f3226f5e385503f792f5f99ce2 (diff) |
bnx2x: Minor code improvements
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>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions