]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Report PCIe link speed and width during driver load
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Sun, 15 May 2016 07:04:45 +0000 (03:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 May 2016 17:35:47 +0000 (13:35 -0400)
commitc50f2430be2cf4e1885fed6190139befb104e9f2
treec9f0dfe4aa9d96230b3d9890b81545f7776fc4f8
parent5361defc6184783ced9ef3f61e5c38b1f95c0b80
bnxt_en: Report PCIe link speed and width during driver load

Add code to log a message during driver load indicating PCIe link
speed and width.

The log message will look like this:
bnxt_en 0000:86:00.0 eth0: PCIe: Speed 8.0GT/s Width x8

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c