cxgb4: For T4, don't read the Firmware Mailbox Control register
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 1 Oct 2015 08:18:46 +0000 (13:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:48:40 +0000 (03:48 -0700)
commitb3695540ba5d8cf032f30533d53786b31af271f5
tree0943663bea70510f12d5beb49b925845ff0a33e3
parent8119c018000bcc2d56e74f5459b7ff1902f96ff8
cxgb4: For T4, don't read the Firmware Mailbox Control register

T4 doesn't have the Shadow copy of the register which we can read without
side effect. So don't read mbox control register for T4 adapter

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c