]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit8fc3bb6daab26e0c40c19040208091f140b6f8d5
treef0f6364d3498498353a8fc632774445d5dfc46b2
parenta6053d76bd893a8bd7ecb8681d85b35cd4b45936
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