Fx a type from r271817; it's IFCOUNTER_* not IFNET_*.

This commit is contained in:
Bjoern A. Zeeb 2014-09-18 22:10:49 +00:00
parent 64c5167c91
commit 94b0d1ae8d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271841

View File

@ -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));