From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: [PATCH v3.4-rc 9/9] pch_gbe: remove suspicious comment Date: Fri, 20 Apr 2012 22:09:28 +0200 Message-ID: <4b0c983b1cd59f531be149877b8f32b78c94d8ed.1334949388.git.richardcochran@gmail.com> References: Cc: David Miller , Takahiro Shimizu To: Return-path: Received: from mail-we0-f174.google.com ([74.125.82.174]:63894 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752408Ab2DTUKa (ORCPT ); Fri, 20 Apr 2012 16:10:30 -0400 Received: by mail-we0-f174.google.com with SMTP id x9so6300952wej.19 for ; Fri, 20 Apr 2012 13:10:29 -0700 (PDT) In-Reply-To: In-Reply-To: References: Sender: netdev-owner@vger.kernel.org List-ID: The time stamping code in this driver appears to have been copied from the ixp4xx_eth.c driver, including this timing comment. I had actually measured the time stamp delay on an IXP425, but I really doubt that this value also applies here. Signed-off-by: Richard Cochran --- .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c index e9b785e..89c6bcf 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c @@ -210,7 +210,6 @@ pch_tx_timestamp(struct pch_gbe_adapter *adapter, struct sk_buff *skb) /* * This really stinks, but we have to poll for the Tx time stamp. - * Usually, the time stamp is ready after 4 to 6 microseconds. */ for (cnt = 0; cnt < 100; cnt++) { val = pch_ch_event_read(pdev); -- 1.7.2.5