[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110627115509.44f3f16a@nehalam.ftrdhcpuser.net>
Date: Mon, 27 Jun 2011 11:55:09 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Jon Mason <jdmason@...zu.us>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 14/19] sky2: remove unnecessary reads of PCI_CAP_ID_EXP
On Mon, 27 Jun 2011 12:46:56 -0500
Jon Mason <jdmason@...zu.us> wrote:
> 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. Also, pci_is_pcie is a
> better way of determining if the device is PCIE or not (as it uses the
> same saved PCIE capability offset).
>
> Signed-off-by: Jon Mason <jdmason@...zu.us>
Acked-by: Stephen Hemminger <shemminger@...tta.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists