diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ixgb/ixgb_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/ixgb/ixgb_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_main.c b/drivers/net/ethernet/intel/ixgb/ixgb_main.c index 82aaa792cbf3..5fce363d810a 100644 --- a/drivers/net/ethernet/intel/ixgb/ixgb_main.c +++ b/drivers/net/ethernet/intel/ixgb/ixgb_main.c | |||
@@ -134,8 +134,8 @@ MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver"); | |||
134 | MODULE_LICENSE("GPL"); | 134 | MODULE_LICENSE("GPL"); |
135 | MODULE_VERSION(DRV_VERSION); | 135 | MODULE_VERSION(DRV_VERSION); |
136 | 136 | ||
137 | #define DEFAULT_DEBUG_LEVEL_SHIFT 3 | 137 | #define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK) |
138 | static int debug = DEFAULT_DEBUG_LEVEL_SHIFT; | 138 | static int debug = -1; |
139 | module_param(debug, int, 0); | 139 | module_param(debug, int, 0); |
140 | MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)"); | 140 | MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)"); |
141 | 141 | ||
@@ -442,7 +442,7 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
442 | adapter->netdev = netdev; | 442 | adapter->netdev = netdev; |
443 | adapter->pdev = pdev; | 443 | adapter->pdev = pdev; |
444 | adapter->hw.back = adapter; | 444 | adapter->hw.back = adapter; |
445 | adapter->msg_enable = netif_msg_init(debug, DEFAULT_DEBUG_LEVEL_SHIFT); | 445 | adapter->msg_enable = netif_msg_init(debug, DEFAULT_MSG_ENABLE); |
446 | 446 | ||
447 | adapter->hw.hw_addr = pci_ioremap_bar(pdev, BAR_0); | 447 | adapter->hw.hw_addr = pci_ioremap_bar(pdev, BAR_0); |
448 | if (!adapter->hw.hw_addr) { | 448 | if (!adapter->hw.hw_addr) { |