ixgbe: Not allow 8259x unsupported wol options change from ethtool
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Thu, 2 Jul 2009 12:51:10 +0000 (12:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 02:11:11 +0000 (19:11 -0700)
commite5d57af52464f37dd3c67906a493a6400bc51b43
tree95e61f8252883517f75ca9149586766595025212
parent5da43c1a78cbc16518017dfb058da6ec4829781b
ixgbe: Not allow 8259x unsupported wol options change from ethtool

Wake-on-lan is currently only supported by 82599 KX4 devices, in all
other cases return a proper value from ixgbe_wol_exclusion function call.
Otherwise from ethtool we will be able to change wol options of
unsupported 8259x devices.

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_ethtool.c