]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
bnx2: Rename register read and write macros
authorMichael Chan <mchan@broadcom.com>
Thu, 6 Dec 2012 10:33:08 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 17:44:01 +0000 (12:44 -0500)
commite503e0662447ce2bd7c0a73c90395c78ebee494c
tree78cbe4e2ec2b3c2df26b69f4b82821ed81fbf3e3
parent1d9c5a04d5208c6bc53364a513508ffcab1bc338
bnx2: Rename register read and write macros

with BNX2_ prefix for namespace consistency.  Currently, these macro names
conflict with similar macros in bnx2x.h, preventing the cnic driver from
including both bnx2.h and bnx2x.h.  Including bnx2x.h in cnic.c will remove
many redundant definitions and simplify the interface.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c
drivers/net/ethernet/broadcom/bnx2.h