sfc: Treat all MAC registers as 128-bit
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 25 Nov 2009 16:08:41 +0000 (16:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Nov 2009 23:59:00 +0000 (15:59 -0800)
commit80cb9a0f7f381e1c0e9f6dabec6e67db0dd3a0d9
treef64ca5e6a4d30831109163bdfaffa3e3f8ab7a93
parent46e1ac0f42c7ff20a7e47c172e4835273b0e6899
sfc: Treat all MAC registers as 128-bit

Although all the defined fields in these registers are within 32 bits,
they are architecturally defined as 128-bit like most other Falcon
registers.  In particular, we must use efx_reado() to ensure proper
locking when reading MD_STAT_REG.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon_xmac.c