projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab81b5
)
be2net: Change the data type of the 'on die temperature' stat.
author
Somnath Kotur
<somnath.kotur@emulex.com>
Fri, 30 Sep 2011 07:23:35 +0000
(07:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Oct 2011 16:17:32 +0000
(12:17 -0400)
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>
drivers/net/ethernet/emulex/benet/be.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/emulex/benet/be.h
b/drivers/net/ethernet/emulex/benet/be.h
index c5f05163bf22d7e4e1b712e96746c61978983701..894f1a91d9c9faf62797523309aea5528118c38e 100644
(file)
--- a/
drivers/net/ethernet/emulex/benet/be.h
+++ b/
drivers/net/ethernet/emulex/benet/be.h
@@
-245,7
+245,7
@@
struct be_rx_obj {
};
struct be_drv_stats {
- u
8
be_on_die_temperature;
+ u
32
be_on_die_temperature;
u32 tx_events;
u32 eth_red_drops;
u32 rx_drops_no_pbuf;