commit | af89d26c076001ee18c3323fae7e4f27863e93de | [log] [tgz] |
---|---|---|
author | Shannon Nelson <shannon.nelson@intel.com> | Wed Dec 11 08:17:14 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Jan 07 21:49:53 2014 -0800 |
tree | c7b5ad5ad38e5367ea0206bc16cc20db64311cf8 | |
parent | 5f9116ac4e6dc29e147643e0dd27dee3190c34e7 [diff] |
i40e: check MAC type before any REG access We need to check if we are dealing with the correct MAC type before we try to read anything from the registers. Change-Id: I3989516999d06c3009e87d6a2eafc20af305c5c2 Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>