]> err.no Git - linux-2.6/commit
[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)
commit2726d6e126c0c16efeba30356d4ae105f1854d1e
treee952b9ab7aebe5822d1ec9379f247708422221bf
parent6f743ca052575a26439d796249d9e7740b8192d7
[BNX2]: Remove REG_WR_IND/REG_RD_IND macros.

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>
drivers/net/bnx2.c
drivers/net/bnx2.h