Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259583
b: refs/heads/master
c: 4788313
h: refs/heads/master
i:
  259581: 61c5f06
  259579: e194299
  259575: 3d4bc1e
  259567: 6274934
  259551: 579dfa9
  259519: c2c38a8
  259455: b68c309
  259327: b163d0e
  259071: 7ea23c9
v: v3
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 696ff15 commit 9d85a6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29667f30b2aac0e195a5dbc2ca05004caf7c8117
refs/heads/master: 47883130a049be2d55c3a8080a71e73d4b939ef8
2 changes: 1 addition & 1 deletion trunk/drivers/staging/et131x/et1310_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ void ConfigFlowControl(struct et131x_adapter *etdev)
*/
void UpdateMacStatHostCounters(struct et131x_adapter *etdev)
{
struct _ce_stats_t *stats = &etdev->Stats;
struct ce_stats_t *stats = &etdev->Stats;
struct macstat_regs __iomem *macstat =
&etdev->regs->macstat;

Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
* Do not change these values: if changed, then change also in respective
* TXdma and Rxdma engines
*/
#define NUM_DESC_PER_RING_TX 512 /* TX Do not change these values */
#define NUM_DESC_PER_RING_TX 512 /* TX Do not change these values */
#define NUM_TCB 64

/*
Expand Down Expand Up @@ -98,7 +98,7 @@ struct rfd {
#define FLOW_NONE 3

/* Struct to define some device statistics */
typedef struct _ce_stats_t {
struct ce_stats_t {
/* Link Input/Output stats */
uint64_t ipackets; /* # of in packets */
uint64_t opackets; /* # of out packets */
Expand Down Expand Up @@ -143,7 +143,7 @@ typedef struct _ce_stats_t {

u32 SynchrounousIterations;
u32 InterruptStatus;
} CE_STATS_t, *PCE_STATS_t;
};


/* The private adapter structure */
Expand Down Expand Up @@ -239,7 +239,7 @@ struct et131x_adapter {
u8 ReplicaPhyLoopbkPF; /* Replica Enable Pass/Fail */

/* Stats */
CE_STATS_t Stats;
struct ce_stats_t Stats;

struct net_device_stats net_stats;
struct net_device_stats net_stats_prev;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/et131x/et131x_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct net_device_stats *et131x_stats(struct net_device *netdev)
{
struct et131x_adapter *adapter = netdev_priv(netdev);
struct net_device_stats *stats = &adapter->net_stats;
CE_STATS_t *devstat = &adapter->Stats;
struct ce_stats_t *devstat = &adapter->Stats;

stats->rx_packets = devstat->ipackets;
stats->tx_packets = devstat->opackets;
Expand Down

0 comments on commit 9d85a6b

Please sign in to comment.