aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/smc
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2014-09-18 22:10:49 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2014-09-18 22:10:49 +0000
commit94b0d1ae8def79cd41a55f02dfeab563838581e4 (patch)
tree0c8d400881dbf0e332dc33abd1ce1bc4ea166df1 /sys/dev/smc
parent64c5167c91a6db957fea10a8e7486faacfa90364 (diff)
downloadsrc-94b0d1ae8def79cd41a55f02dfeab563838581e4.tar.gz
src-94b0d1ae8def79cd41a55f02dfeab563838581e4.zip
Notes
Diffstat (limited to 'sys/dev/smc')
-rw-r--r--sys/dev/smc/if_smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/smc/if_smc.c b/sys/dev/smc/if_smc.c
index fd29eadb8be9..8ba7210d5796 100644
--- a/sys/dev/smc/if_smc.c
+++ b/sys/dev/smc/if_smc.c
@@ -909,7 +909,7 @@ smc_task_intr(void *context, int pending)
smc_select_bank(sc, 0);
counter = smc_read_2(sc, ECR);
smc_select_bank(sc, 2);
- if_inc_counter(ifp, IFNET_COLLISIONS,
+ if_inc_counter(ifp, IFCOUNTER_COLLISIONS,
((counter & ECR_SNGLCOL_MASK) >> ECR_SNGLCOL_SHIFT) +
((counter & ECR_MULCOL_MASK) >> ECR_MULCOL_SHIFT));