commit | 37f9ce6231cafb2973e09f7f72ad62bc6348d1b3 | [log] [tgz] |
---|---|---|
author | Eilon Greenstein <eilong@broadcom.com> | Wed Aug 12 08:23:34 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 12 23:02:50 2009 -0700 |
tree | 1f2c37ef98e3d9528dcf8a215c64de7fcfa0aa2a | |
parent | e3553b29c6f395c6692afccc2ed5eff9c3d1daef [diff] |
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 <benli@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>