commit | 2726d6e126c0c16efeba30356d4ae105f1854d1e | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Tue Jan 29 21:35:05 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 31 19:27:14 2008 -0800 |
tree | e952b9ab7aebe5822d1ec9379f247708422221bf | |
parent | 6f743ca052575a26439d796249d9e7740b8192d7 [diff] |
[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>