[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110627.214127.1396275314907942562.davem@davemloft.net>
Date: Mon, 27 Jun 2011 21:41:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jdmason@...zu.us
Cc: eilong@...adcom.com, netdev@...r.kernel.org
Subject: Re: [PATCH 11/19] bnx2x: remove unnecessary read of PCI_CAP_ID_EXP
From: Jon Mason <jdmason@...zu.us>
Date: Mon, 27 Jun 2011 12:45:12 -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