Browse Source

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>
Somnath Kotur 13 years ago
parent
commit
9ae081c66e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/ethernet/emulex/benet/be.h

+ 1 - 1
drivers/net/ethernet/emulex/benet/be.h

@@ -245,7 +245,7 @@ struct be_rx_obj {
 };
 
 struct be_drv_stats {
-	u8 be_on_die_temperature;
+	u32 be_on_die_temperature;
 	u32 tx_events;
 	u32 eth_red_drops;
 	u32 rx_drops_no_pbuf;