From: Eilon Greenstein Date: Wed, 12 Aug 2009 08:23:34 +0000 (+0000) Subject: bnx2x: Combine get_pcie_width and get_pcie_speed X-Git-Tag: v2.6.32-rc1~703^2~398 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37f9ce6231cafb2973e09f7f72ad62bc6348d1b3;p=pandora-kernel.git bnx2x: Combine get_pcie_width and get_pcie_speed The functions bnx2x_get_pcie_width() and bnx2x_get_pcie_speed() were combined into bnx2x_get_pcie_width_speed() so that there is only 1 PCI read to PCICFG_OFFSET + PCICFG_LINK_CONTROL rather then 2 reads. Signed-off-by: Benjamin Li Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed