be2net: set proper value to version field in req hdr
authorAjit Khaparde <ajitkhaparde@gmail.com>
Tue, 16 Feb 2010 00:18:46 +0000 (00:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 22:53:25 +0000 (14:53 -0800)
commit07793d33b4fba00f5bd1dac78fa038bb0e23fa5c
tree6944a74dd95b35fea01bc8e5e8a966f78429d5a8
parent553f9118abc4fc53674fff87f6fe5fa3f56a41ed
be2net: set proper value to version field in req hdr

Before sending a command to the ASIC, set version properly.
This is necessary for the ARM firmware to send correct data to the driver.
This also fixes a bug in certain skews of the ASIC where the statistics
are misreported.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c