bnx2x: use pcie_get_minimum_link()
authorYuval Mintz <yuvalmin@broadcom.com>
Sat, 28 Sep 2013 05:46:12 +0000 (08:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Sep 2013 22:24:03 +0000 (15:24 -0700)
commitb91e1a1aa5d4f68ea5153bf65c54ebc693c30e4f
tree22212e07f11647edf8561f3723b8609406ce9920
parent7dc950ca590cecb379048eb2581273023afc1796
bnx2x: use pcie_get_minimum_link()

Use common code for getting the pcie link speed/width for debug printing.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c