aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/synopsys
diff options
context:
space:
mode:
authorRabin Vincent <rabinv@axis.com>2016-02-29 16:22:33 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-02 14:57:15 -0500
commit016a91c64de6621e5917b2ddfe2afc0abb0a884c (patch)
tree2608f30df177289bb9cbc6a05b817d7756eeae60 /drivers/net/ethernet/synopsys
parentdwc_eth_qos: use GFP_KERNEL in dma_alloc_coherent() (diff)
downloadlinux-dev-016a91c64de6621e5917b2ddfe2afc0abb0a884c.tar.xz
linux-dev-016a91c64de6621e5917b2ddfe2afc0abb0a884c.zip
dwc_eth_qos: use DWCEQOS_MSG_DEFAULT
Since debug is hardcoded to 3, the defaults in the DWCEQOS_MSG_DEFAULT macro are never used, which does not seem to be the intended behaviour here. Set debug to -1 like other drivers so that DWCEQOS_MSG_DEFAULT is actually used by default. Signed-off-by: Rabin Vincent <rabinv@axis.com> Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/synopsys')
-rw-r--r--drivers/net/ethernet/synopsys/dwc_eth_qos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/synopsys/dwc_eth_qos.c b/drivers/net/ethernet/synopsys/dwc_eth_qos.c
index 3ca2d5c9707a..6897c1d0f86e 100644
--- a/drivers/net/ethernet/synopsys/dwc_eth_qos.c
+++ b/drivers/net/ethernet/synopsys/dwc_eth_qos.c
@@ -426,7 +426,7 @@
#define DWC_MMC_RXOCTETCOUNT_GB 0x0784
#define DWC_MMC_RXPACKETCOUNT_GB 0x0780
-static int debug = 3;
+static int debug = -1;
module_param(debug, int, 0);
MODULE_PARM_DESC(debug, "DWC_eth_qos debug level (0=none,...,16=all)");