]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: check for WoL support in single function
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 21 Apr 2012 06:05:40 +0000 (06:05 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Apr 2012 09:31:26 +0000 (02:31 -0700)
commit8e2813f59e2036aac12fe7b23eda95406b14a83f
tree757d7b07cef51575031f2629a0b4e522e41ee928
parenta27416bbcada50173c2cf8c71d195380b9f06be2
ixgbe: check for WoL support in single function

This patch consolidates the case logic for checking whether a device supports
WoL into a single place. Previously ethtool and probe used similar logic that
was copied and maintained separately. This patch encapsulates the core logic
into a function so that a user only has to update one place.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c