From patchwork Tue May 26 18:50:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Krause X-Patchwork-Id: 476746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0714314029C for ; Wed, 27 May 2015 07:23:52 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ljdsmpJ3; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DFFEC8B968; Tue, 26 May 2015 21:23:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bTxOU5Hghmlx; Tue, 26 May 2015 21:23:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id F0D3B8B7C4; Tue, 26 May 2015 21:23:50 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6A9B31C1083 for ; Tue, 26 May 2015 18:50:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 64CDFA3A2C for ; Tue, 26 May 2015 18:50:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zwX1RAzw-W_O for ; Tue, 26 May 2015 18:50:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 4B15DA3A38 for ; Tue, 26 May 2015 18:50:08 +0000 (UTC) Received: by ieczm2 with SMTP id zm2so99396024iec.1 for ; Tue, 26 May 2015 11:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=/ZqjjldEc3aUKTLGpbfLgjq//3Ot1wBM4yiKqJYEe4A=; b=ljdsmpJ3Iqv67AQU6wvZuN2Jkj40XDGJ6B6uLBJUXsyjbGfLaHKsfJ3GY5AeGb+jvn JEkD+3GxiFlW2nTL0/eigXDuZpk/A2GJZL0VfhFpHyPqYjUtM3kHXBOCm5qM/gAhv3hP g22cLYUjCEduuLnaNvEhqco0FLMfVFU+tqSHqknScYaywu7nip/37uHaCd55oYCE9egU o1YI/D726/7iMth3ERKLIPUFXCqfjNbYXg6Ztl3jLiI4Se/s0hovWsGUmY4rBHbD5+37 nzo9rXADv/xY7209l7/Jk+c9Sw47X0EBO2TO1bYG0FNn1yapE/w0WMqf89haAdSG9A3q yzEg== X-Received: by 10.50.43.131 with SMTP id w3mr31585474igl.8.1432666207475; Tue, 26 May 2015 11:50:07 -0700 (PDT) Received: from nick-System-Product-Name.hitronhub.home (CPEbc4dfb2691f3-CMbc4dfb2691f0.cpe.net.cable.rogers.com. [99.231.110.121]) by mx.google.com with ESMTPSA id i185sm11601839ioi.24.2015.05.26.11.50.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 May 2015 11:50:06 -0700 (PDT) From: Nicholas Krause To: jeffrey.t.kirsher@intel.com Date: Tue, 26 May 2015 14:50:01 -0400 Message-Id: <1432666201-2011-1-git-send-email-xerofoify@gmail.com> X-Mailer: git-send-email 2.1.4 X-Mailman-Approved-At: Tue, 26 May 2015 21:23:49 +0000 Cc: linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Subject: [Intel-wired-lan] [PATCH] e1000e: Fix comment for the function, e1000e_setup_copper_link X-BeenThere: intel-wired-lan@lists.osuosl.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-wired-lan-bounces@lists.osuosl.org Sender: "Intel-wired-lan" This changes the comment about checking link status to state that we wait at least 10 microseconds rather then 100 as the third agrument passed to the function, e1000e_phy_has_link_generic for time delayed in microseconds is not 100 but 10 in this particular call to the function. Signed-off-by: Nicholas Krause --- drivers/net/ethernet/intel/e1000e/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/e1000e/phy.c b/drivers/net/ethernet/intel/e1000e/phy.c index b2005e1..456cd3f 100644 --- a/drivers/net/ethernet/intel/e1000e/phy.c +++ b/drivers/net/ethernet/intel/e1000e/phy.c @@ -1169,7 +1169,7 @@ s32 e1000e_setup_copper_link(struct e1000_hw *hw) } } - /* Check link status. Wait up to 100 microseconds for link to become + /* Check link status. Wait up to 10 microseconds for link to become * valid. */ ret_val = e1000e_phy_has_link_generic(hw, COPPER_LINK_UP_LIMIT, 10,