From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 12/19] niu: remove unnecessary read of PCI_CAP_ID_EXP Date: Mon, 27 Jun 2011 21:41:33 -0700 (PDT) Message-ID: <20110627.214133.438434498211795337.davem@davemloft.net> References: <1309196744-16123-1-git-send-email-jdmason@kudzu.us> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: jdmason@kudzu.us Return-path: Received: from shards.monkeyblade.net ([198.137.202.13]:57250 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756512Ab1F1Elg (ORCPT ); Tue, 28 Jun 2011 00:41:36 -0400 In-Reply-To: <1309196744-16123-1-git-send-email-jdmason@kudzu.us> Sender: netdev-owner@vger.kernel.org List-ID: From: Jon Mason Date: Mon, 27 Jun 2011 12:45:44 -0500 > The PCIE capability offset is saved during PCI bus walking. It will > remove an unnecessary search in the PCI configuration space if this > value is referenced instead of reacquiring it. > > Signed-off-by: Jon Mason Applied.