diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-08-12 04:23:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-13 02:02:50 -0400 |
commit | 37f9ce6231cafb2973e09f7f72ad62bc6348d1b3 (patch) | |
tree | 1f2c37ef98e3d9528dcf8a215c64de7fcfa0aa2a /fs | |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions