[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1369701860.2116.135.camel@jtkirshe-mobl>
Date: Mon, 27 May 2013 17:44:20 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Richard Cochran <richardcochran@...il.com>
Cc: netdev@...r.kernel.org, David Miller <davem@...emloft.net>,
e1000-devel@...ts.sourceforge.net,
Jacob Keller <jacob.e.keller@...el.com>,
Matthew Vick <matthew.vick@...el.com>
Subject: Re: [PATCH net-next 1/4] igb: refactor and simplify time sync
interrupt handling
On Mon, 2013-05-27 at 11:21 +0200, Richard Cochran wrote:
> The code that handles the time sync interrupt is repeated in three
> different places. This patch refactors the identical code blocks into
> a single helper function. Also, reading the TSICR register already
> acknowledges the time sync interrupts, and so there is no need to
> write that register at all.
>
> Signed-off-by: Richard Cochran <richardcochran@...il.com>
> ---
> drivers/net/ethernet/intel/igb/igb_main.c | 47
> +++++++++++------------------
> 1 file changed, 17 insertions(+), 30 deletions(-)
Thanks Richard, I will add this to my queue.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists