ixgbe/base: check MAC type when setting X550 callbacks
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 20 Nov 2015 07:17:51 +0000 (15:17 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 14 Jan 2016 08:43:21 +0000 (09:43 +0100)
commit52f20c7fa887d267c23d7bf17b116adb6e85b6e2
tree76653c22e62f6b58842b6c74855cfb72082acd5a
parent2ecf53223d53ea1f13afd12e2ee58f3211fa2aad
ixgbe/base: check MAC type when setting X550 callbacks

Check mac type when accessing iosf registers and using the PHY token
for PHY access.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c