diff options
author | Alexander Duyck <alexander.h.duyck@linux.intel.com> | 2019-10-31 09:58:51 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-12-31 14:25:41 -0800 |
commit | c557a4b3f73837bf074e643e163a37f848c9781c (patch) | |
tree | b40cc3b858149f9e307cbb3b51bec36708dd171a /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | igc: Add legacy power management support (diff) | |
download | linux-dev-c557a4b3f73837bf074e643e163a37f848c9781c.tar.xz linux-dev-c557a4b3f73837bf074e643e163a37f848c9781c.zip |
e1000e: Use netdev_info instead of pr_info for link messages
Replace the pr_info calls with netdev_info in all cases related to the
netdevice link state.
As a result of this patch the link messages will change as shown below.
Before:
e1000e: ens3 NIC Link is Down
e1000e: ens3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
After:
e1000e 0000:00:03.0 ens3: NIC Link is Down
e1000e 0000:00:03.0 ens3: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions