diff options
author | Somnath Kotur <somnath.kotur@emulex.com> | 2011-09-30 03:23:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-03 12:17:32 -0400 |
commit | 9ae081c66eb8ba0fdb38cca180952782a8744da4 (patch) | |
tree | ce96e0dfe4476773ecb1cd0f19982cbbd2755baa /drivers/net/ethernet/emulex | |
parent | 3ab81b5f4278342a2312e3fcafa6833e40753324 (diff) |
be2net: Change the data type of the 'on die temperature' stat.
This was showing up as junk value on PPC /Big endian machines since
it was marked as a byte.
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index c5f05163bf22..894f1a91d9c9 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h | |||
@@ -245,7 +245,7 @@ struct be_rx_obj { | |||
245 | }; | 245 | }; |
246 | 246 | ||
247 | struct be_drv_stats { | 247 | struct be_drv_stats { |
248 | u8 be_on_die_temperature; | 248 | u32 be_on_die_temperature; |
249 | u32 tx_events; | 249 | u32 tx_events; |
250 | u32 eth_red_drops; | 250 | u32 eth_red_drops; |
251 | u32 rx_drops_no_pbuf; | 251 | u32 rx_drops_no_pbuf; |