sfc: Use correct macro to set event bitfield
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 15 Apr 2009 02:48:34 +0000 (19:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Apr 2009 02:48:34 +0000 (19:48 -0700)
commit239795adf7f1a40cf0be0e05544d37706c9b4cf9
treebdf142e6e9a4c610f56f51b2d4842959c611fded
parent718cff1eec595ce6ab0635b8160a51ee37d9268d
sfc: Use correct macro to set event bitfield

falcon_sim_phy_event() used EFX_OWORD_FIELD, which operates on
bitfields in 128-bit values, on an event, which is a 64-bit value.
This should be harmless - these macros always use little-endian
ordering, so it would read and write back the following 8 bytes
unchanged - but it is obviously wrong.

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