]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: refactor initialization of feature flags
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 8 Jan 2013 04:23:53 +0000 (04:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 15 Feb 2013 09:40:55 +0000 (01:40 -0800)
commit9062c6ec47c958c3a7ec8bbf0e6caf72b1ba7766
treef0f6364d3498498353a8fc632774445d5dfc46b2
parente711ab5a4006945585604f98fc6d1560c5d71462
ixgbe: refactor initialization of feature flags

This patch reshuffles the switch/case structure of the flag assignment to
allow for the flags to be set for each MAC type separately. This is needed
for new HW that does not have feature parity with older HW.

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