net/bnx2x: merge debug register operations into headers
authorChas Williams <3chas3@gmail.com>
Tue, 11 Oct 2016 23:05:01 +0000 (19:05 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commitdc687592ac67a300f1903aea6ca0e08f946de25f
tree789345a80b497b7e425d812f556aba7378e0969f
parent039d21312931f7f7eed420db69fddc5e267d7cb1
net/bnx2x: merge debug register operations into headers

The register read/writes should just be static inline instead of
alternately defined as routines or macros depending on the status of
debugging.

Fix bnx2x_reg_read32() returning 0 during debug unaligned reads.

Fixes: b5bf7719221d ("bnx2x: driver support routines")

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/Makefile
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/debug.c [deleted file]