]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Correct X550EM_x revision check
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 20 Nov 2015 21:12:17 +0000 (13:12 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:41 +0000 (16:40 -0700)
commit3986daa4516125dfe383488baa4e9c01ac959404
tree672ee0472e725c7ab6830ef702bf528d617c8a0c
parentd9d6e89dabe1121782b8a189fd109434c9c8d79b
ixgbe: Correct X550EM_x revision check

Orabug: 23177316

The X550EM_x revision check needs to check a value, not just a bit.
Use a mask and check the value. Also remove the redundant check
inside the ixgbe_enter_lplu_t_x550em, because it can only be called
when both the mac type and revision check pass.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 3ca2b2506ec9a3b1615930a6810d30ec9aba10a1)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c