mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Fx a type from r271817; it's IFCOUNTER_* not IFNET_*.
This commit is contained in:
parent
64c5167c91
commit
94b0d1ae8d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271841
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user