[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110627.214212.364989192938099400.davem@davemloft.net>
Date: Mon, 27 Jun 2011 21:42:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jdmason@...zu.us
Cc: shemminger@...ux-foundation.org, netdev@...r.kernel.org
Subject: Re: [PATCH 14/19] sky2: remove unnecessary reads of PCI_CAP_ID_EXP
From: Jon Mason <jdmason@...zu.us>
Date: Mon, 27 Jun 2011 12:46:56 -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. 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>
Applied.
--
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