]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70171c7a2a488a27340825dcd28540ceb3bd62d7
tree0943663bea70510f12d5beb49b925845ff0a33e3
parenta2b4c21118d51e96716fa374e7dc9510c1afc7fe
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