projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324dd96
)
be2net: Fix Rx pause counter for lancer
author
Selvin Xavier
<
[email protected]
>
Mon, 6 Jun 2011 02:27:13 +0000
(
02:27
+0000)
committer
David S. Miller
<
[email protected]
>
Tue, 7 Jun 2011 05:53:52 +0000
(22:53 -0700)
Fixed Rx pause counter for Lancer. Swapping hi and lo words.
Signed-off-by: Selvin Xavier <
[email protected]
>
Signed-off-by: Padmanabh Ratnakar <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/benet/be_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index 5824c95c78439352872c30220b4e2196bedd1b52..9ba197b0978836378aad2439632f7d8699cc9039 100644
(file)
--- a/
drivers/net/benet/be_main.c
+++ b/
drivers/net/benet/be_main.c
@@
-362,8
+362,8
@@
static void populate_lancer_stats(struct be_adapter *adapter)
drvs->rx_priority_pause_frames = 0;
drvs->pmem_fifo_overflow_drop = 0;
drvs->rx_pause_frames =
- make_64bit_val(pport_stats->rx_pause_frames_
lo
,
- pport_stats->rx_pause_frames_
hi
);
+ make_64bit_val(pport_stats->rx_pause_frames_
hi
,
+ pport_stats->rx_pause_frames_
lo
);
drvs->rx_crc_errors = make_64bit_val(pport_stats->rx_crc_errors_hi,
pport_stats->rx_crc_errors_lo);
drvs->rx_control_frames =