cxgb4: exclude registers with read side effects from register dumps
authorDimitris Michailidis <dm@chelsio.com>
Mon, 12 Jul 2010 00:33:48 +0000 (17:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jul 2010 00:33:48 +0000 (17:33 -0700)
commit835bb606faffcd761e7abbc6b5de89ea5c409123
tree55e0768f90b5d12f0faa16e5174c46f2b7e435e6
parentf796564a5fd7be1a4597b66e2a516c18685641df
cxgb4: exclude registers with read side effects from register dumps

A few registers have side effects on reads, eg FIFO pointers that
auto advance or mailboxes which change ownership when read.  They are
unsafe to read so exclude them from ethtool register dumps.

Bump ethtool_regs.version to indicate the changed register set.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c