diff options
author | Julia Lawall <julia@diku.dk> | 2009-08-07 17:53:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-13 00:54:53 -0400 |
commit | 176edd52366d59350717b0bf6865b1d7ece156cc (patch) | |
tree | 52df3ecc0b4c2ee407a296042e128a2f937982ac /drivers/net/niu.c | |
parent | 798c752b815bd80653dc48b6ffb8eb68ede15a66 (diff) |
drivres/net: Change constant name
In this series of tests the constants have the form XRXMAC_STATUS, except
in this one case. The values of XRXMAC_STAT_MSK_RXOCTET_CNT_EXP and
XRXMAC_STATUS_RXOCTET_CNT_EXP are furthermore the same.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r-- | drivers/net/niu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index d2146d4a10f3..3ada7ea2abca 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c | |||
@@ -4015,7 +4015,7 @@ static void niu_xmac_interrupt(struct niu *np) | |||
4015 | mp->rx_hist_cnt6 += RXMAC_HIST_CNT6_COUNT; | 4015 | mp->rx_hist_cnt6 += RXMAC_HIST_CNT6_COUNT; |
4016 | if (val & XRXMAC_STATUS_RXHIST7_CNT_EXP) | 4016 | if (val & XRXMAC_STATUS_RXHIST7_CNT_EXP) |
4017 | mp->rx_hist_cnt7 += RXMAC_HIST_CNT7_COUNT; | 4017 | mp->rx_hist_cnt7 += RXMAC_HIST_CNT7_COUNT; |
4018 | if (val & XRXMAC_STAT_MSK_RXOCTET_CNT_EXP) | 4018 | if (val & XRXMAC_STATUS_RXOCTET_CNT_EXP) |
4019 | mp->rx_octets += RXMAC_BT_CNT_COUNT; | 4019 | mp->rx_octets += RXMAC_BT_CNT_COUNT; |
4020 | if (val & XRXMAC_STATUS_CVIOLERR_CNT_EXP) | 4020 | if (val & XRXMAC_STATUS_CVIOLERR_CNT_EXP) |
4021 | mp->rx_code_violations += RXMAC_CD_VIO_CNT_COUNT; | 4021 | mp->rx_code_violations += RXMAC_CD_VIO_CNT_COUNT; |