Skip to content
  • Eilon Greenstein's avatar
    bnx2x: Minor code improvements · 3196a88a
    Eilon Greenstein authored
    
    
    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: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3196a88a