linux-stable/drivers/net/ethernet/intel/igc
Andre Guedes 25f06eff75 igc: Use netdev log helpers in igc_main.c
In igc_main.c we print log messages using both dev_* and netdev_*
helpers, generating inconsistent output. Since this is a network device
driver, we should preferably use netdev_* helpers because they append
the interface name to the message, helping making sense out of the logs.

This patch converts all dev_* calls to netdev_*. There is only two
exceptions:
  1) calls wihtin igc_probe (net_device has not been registered yet)
  2) calls in igc_init_module (module initialization).

It also takes this opportunity to improve some messages.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-18 15:06:28 -07:00
..
igc.h igc: Remove igc_*_mac_steering_filter() wrappers 2020-04-19 12:14:12 -07:00
igc_base.c igc: Add new device IDs for i225 part 2020-04-19 11:34:11 -07:00
igc_base.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
igc_defines.h igc: Fix NFC queue redirection support 2020-04-17 10:19:24 -07:00
igc_dump.c igc: Add dump options 2020-02-19 15:52:06 -08:00
igc_ethtool.c igc: Remove igc_*_mac_steering_filter() wrappers 2020-04-19 12:14:12 -07:00
igc_hw.h igc: Add new device IDs for i225 part 2020-04-19 11:34:11 -07:00
igc_i225.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_i225.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_mac.c igc: Add set_rx_mode support 2019-10-21 10:22:13 -07:00
igc_mac.h igc: Add set_rx_mode support 2019-10-21 10:22:13 -07:00
igc_main.c igc: Use netdev log helpers in igc_main.c 2020-05-18 15:06:28 -07:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Add PHY power management control 2020-01-17 09:55:34 -08:00
igc_phy.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_ptp.c igc: Complete to commit Add basic skeleton for PTP 2020-02-19 16:51:28 -08:00
igc_regs.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00
igc_tsn.c igc: Add support for ETF offloading 2020-04-17 10:19:24 -07:00
igc_tsn.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00
Makefile igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00