Date: Thu, 18 Sep 2014 22:10:50 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271841 - head/sys/dev/smc Message-ID: <201409182210.s8IMAoiO097104@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Thu Sep 18 22:10:49 2014 New Revision: 271841 URL: http://svnweb.freebsd.org/changeset/base/271841 Log: Fx a type from r271817; it's IFCOUNTER_* not IFNET_*. Modified: head/sys/dev/smc/if_smc.c Modified: head/sys/dev/smc/if_smc.c ============================================================================== --- head/sys/dev/smc/if_smc.c Thu Sep 18 21:48:05 2014 (r271840) +++ head/sys/dev/smc/if_smc.c Thu Sep 18 22:10:49 2014 (r271841) @@ -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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409182210.s8IMAoiO097104>