Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 23:27:35 +0400
From:      pluknet <pluknet@gmail.com>
To:        "George V. Neville-Neil" <gnn@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r210428 - head/sys/dev/e1000
Message-ID:  <AANLkTikYRjLeC7z5fb34=DsAi2PvBZT5uM4xffVgL9Br@mail.gmail.com>
In-Reply-To: <201007231753.o6NHresT072278@svn.freebsd.org>
References:  <201007231753.o6NHresT072278@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 July 2010 21:53, George V. Neville-Neil <gnn@freebsd.org> wrote:
> Author: gnn
> Date: Fri Jul 23 17:53:39 2010
> New Revision: 210428
> URL: http://svn.freebsd.org/changeset/base/210428
>
> Log:
> =A0Fix a bug in the statistics code for tracking the head and
> =A0tail pointers of the tx and rx queues. =A0 We needed a SYSCTL_PROC
> =A0to correctly get the values at run time.
>
> =A0Submitted by: Andrew Boyer aboyer at averesystems.com
> =A0MFC after: =A0 =A01 week
>
> Modified:
> =A0head/sys/dev/e1000/if_igb.c
>
> Modified: head/sys/dev/e1000/if_igb.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/sys/dev/e1000/if_igb.c Fri Jul 23 17:44:01 2010 =A0 =A0 =A0 =A0(=
r210427)
> +++ head/sys/dev/e1000/if_igb.c Fri Jul 23 17:53:39 2010 =A0 =A0 =A0 =A0(=
r210428)
> @@ -4927,6 +4927,74 @@ igb_update_vf_stats_counters(struct adap
> =A0}
>
>
> +/** igb_sysctl_tdh_handler - Handler function
> + * =A0Retrieves the TDH value from the hardware
> + */
> +static int igb_sysctl_tdh_handler(SYSCTL_HANDLER_ARGS)
> +{

^^
This function definition (and three ones below) breaks style(9):
"     The function type should be on a line by itself preceding the functio=
n."

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikYRjLeC7z5fb34=DsAi2PvBZT5uM4xffVgL9Br>