linux/drivers/net/ethernet/stmicro/stmmac
LABBE Corentin 38ddc59d65 net: stmmac: replace all pr_xxx by their netdev_xxx counterpart
The stmmac driver use lots of pr_xxx functions to print information.
This is bad since we cannot know which device logs the information.
(moreover if two stmmac device are present)

Furthermore, it seems that it assumes wrongly that all logs will always
be subsequent by using a dev_xxx then some indented pr_xxx like this:
kernel: sun7i-dwmac 1c50000.ethernet: no reset control found
kernel:  Ring mode enabled
kernel:  No HW DMA feature register supported
kernel:  Normal descriptors
kernel:  TX Checksum insertion supported

So this patch replace all pr_xxx by their netdev_xxx counterpart.
Excepts for some printing where netdev "cause" unpretty output like:
sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): no reset control found
In those case, I keep dev_xxx.

In the same time I remove some "stmmac:" print since
this will be a duplicate with that dev_xxx displays.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-17 13:30:30 -05:00
..
altr_tse_pcs.c net: ethernet: Add TSE PCS support to dwmac-socfpga 2016-07-10 22:07:50 -07:00
altr_tse_pcs.h net: ethernet: Add TSE PCS support to dwmac-socfpga 2016-07-10 22:07:50 -07:00
chain_mode.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
common.h stmmac: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
descs_com.h net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
descs.h net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
dwmac4_core.c stmmac: fix PWRDWN into the PMT register for global unicast. 2016-09-18 22:21:06 -04:00
dwmac4_descs.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
dwmac4_descs.h stmmac: add descriptors function for GMAC 4.xx 2016-04-02 20:23:07 -04:00
dwmac4_dma.c stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4_dma.h stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4_lib.c stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4.h drivers: net: stmmac: rework core ISR to better manage PCS and PMT 2016-06-28 08:54:23 -04:00
dwmac100_core.c stmmac: rework synopsys id read, moved to dwmac setup 2016-04-02 20:23:07 -04:00
dwmac100_dma.c stmmac: rework DMA bus setting and introduce new platform AXI structure 2016-03-02 14:21:30 -05:00
dwmac100.h stmmac: share reset function between dwmac100 and dwmac1000 2016-03-02 14:21:30 -05:00
dwmac1000_core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-09-23 06:46:57 -04:00
dwmac1000_dma.c stmmac: rework get_hw_feature function 2016-04-02 20:23:07 -04:00
dwmac1000.h drivers: net: stmmac: rework core ISR to better manage PCS and PMT 2016-06-28 08:54:23 -04:00
dwmac_dma.h stmmac: rework DMA bus setting and introduce new platform AXI structure 2016-03-02 14:21:30 -05:00
dwmac_lib.c stmmac: share reset function between dwmac100 and dwmac1000 2016-03-02 14:21:30 -05:00
dwmac-generic.c stmmac: remove setup/free glue callbacks 2015-07-29 00:13:25 -07:00
dwmac-ipq806x.c stmmac: ipq806x: Return error values instead of pointers 2015-12-03 15:24:42 -05:00
dwmac-lpc18xx.c stmmac: add proper probe function to dwmac-lpc18xx 2015-07-20 20:45:57 -07:00
dwmac-meson8b.c net: stmmac: add a glue driver for the Amlogic Meson 8b / GXBB DWMAC 2016-09-07 14:13:18 -07:00
dwmac-meson.c net: stmmac: update the module description of the dwmac-meson driver 2016-09-07 14:13:31 -07:00
dwmac-oxnas.c net: stmmac: Add OXNAS Glue Driver 2016-11-03 15:31:33 -04:00
dwmac-rk.c stmmac: dwmac-rk: absorb rk_gmac_init into probe 2016-11-09 13:21:24 -05:00
dwmac-socfpga.c net: stmmac: use phydev from struct net_device 2016-10-12 01:40:25 -04:00
dwmac-sti.c stmmac: dwmac-sti: remove unused priv dev member 2016-11-06 22:00:15 -05:00
dwmac-stm32.c net: ethernet: dwmac: fix non static symbol warning 2016-09-13 11:42:27 -04:00
dwmac-sunxi.c stmmac: dwmac-sunxi: Call exit cleanup function in probe error path 2015-12-14 16:11:59 -05:00
enh_desc.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
Kconfig net: stmmac: Add OXNAS Glue Driver 2016-11-03 15:31:33 -04:00
Makefile net: stmmac: Add OXNAS Glue Driver 2016-11-03 15:31:33 -04:00
mmc_core.c stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
mmc.h stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
norm_desc.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
ring_mode.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
stmmac_ethtool.c net: stmmac: Implement ethtool::nway_reset 2016-11-16 13:44:00 -05:00
stmmac_hwtstamp.c stmmac: Fix calculations for ptp counters when clock input = 50Mhz. 2015-12-15 23:20:56 -05:00
stmmac_main.c net: stmmac: replace all pr_xxx by their netdev_xxx counterpart 2016-11-17 13:30:30 -05:00
stmmac_mdio.c net: stmmac: replace all pr_xxx by their netdev_xxx counterpart 2016-11-17 13:30:30 -05:00
stmmac_pci.c stmmac: let remove/resume/suspend functions take device pointer 2016-05-03 15:22:19 -04:00
stmmac_pcs.h drivers: net: stmmac: reworking the PCS code. 2016-06-28 08:54:23 -04:00
stmmac_platform.c Revert "net: stmmac: allow to split suspend/resume from init/exit callbacks" 2016-11-09 13:21:25 -05:00
stmmac_platform.h stmmac: introduce get_stmmac_bsp_priv() helper 2016-09-07 14:13:13 -07:00
stmmac_ptp.c stmmac: fix and review the ptp registration. 2016-10-19 15:10:30 -04:00
stmmac_ptp.h
stmmac.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-10-30 12:42:58 -04:00