[BNX2]: Remove REG_WR_IND/REG_RD_IND macros.
authorMichael Chan <mchan@broadcom.com>
Wed, 30 Jan 2008 05:35:05 +0000 (21:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:14 +0000 (19:27 -0800)
The REG_WR_IND/REG_RD_IND macros are unnecessary and obfuscate the
code.  Many callers to these macros read and write shared memory from
the bp->shmem_base, so we add 2 similar functions that automatically
add the shared memory base.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found