fm10k: Add netconsole support
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Apr 2015 02:14:31 +0000 (19:14 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 14 Apr 2015 22:08:37 +0000 (15:08 -0700)
commit8b4a98c7fa0344c08c34657e2bd2cc2293a67238
tree7c30afa1a5544208c2b30f7113b03a800bfde665
parent4c16ceae8daa13c99ca1b7b46d372678f5024a6f
fm10k: Add netconsole support

This change adds a function called "fm10k_netpoll" that's used to define
"ndo_poll_controller" in "fm10k_netdev_ops". This is required to enable
support for "netconsole" in fm10k.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Ngai-Mint Kwan <ngai-mint.kwan@intel.com>
Acked-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
drivers/net/ethernet/intel/fm10k/fm10k_pci.c