net/sfc/base: clarify port mode names and masks
authorAndy Moreton <amoreton@solarflare.com>
Tue, 20 Feb 2018 07:34:21 +0000 (07:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commit1a04c2d1634691cb464a33772bf343d33d4638a8
tree0e3ce6760dbcffce422b9214be353de9354eb843
parent75ff34e83e90659808b07b53dbdcfe0413c98f95
net/sfc/base: clarify port mode names and masks

New port mode names are defined for Medford2 and later, and
the existing names are aliased to them. Add comments with the
numeric port mode to clarify the external port modes table.

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/hunt_nic.c