]> git.baikalelectronics.ru Git - kernel.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)
commit7ea007d55a552ed10f191509a09b62b8eb0860de
tree78cbe4e2ec2b3c2df26b69f4b82821ed81fbf3e3
parent34d8b4d7b54f169b324fca644bee881972fb7f6e
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