diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-08-12 08:23:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-12 23:02:50 -0700 |
commit | 37f9ce6231cafb2973e09f7f72ad62bc6348d1b3 (patch) | |
tree | 1f2c37ef98e3d9528dcf8a215c64de7fcfa0aa2a /drivers/edac/edac_mc_sysfs.c | |
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 'drivers/edac/edac_mc_sysfs.c')
0 files changed, 0 insertions, 0 deletions