ixgbe: add check for supported modes
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 29 Jul 2011 06:46:10 +0000 (06:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 29 Aug 2011 08:33:52 +0000 (01:33 -0700)
commitabcc80d26cc0408cad520471a1ada6aa421921ab
treee9bb504dbf9922b624358c2d9a70c88b8e48f819
parent53f096de3a2d04dc034b9dbcb160c6448960309d
ixgbe: add check for supported modes

When setting advertised speed/duplex with ethtool.

Also cleaned up the comment since we also support 100/F.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c