ice: Fix flag used for module query
authorChinh T Cao <chinh.t.cao@intel.com>
Mon, 29 Jul 2019 09:04:52 +0000 (02:04 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Aug 2019 17:23:11 +0000 (10:23 -0700)
commit057911ba9b7939a3395e5c3c497fa2af830123e4
treed52eacd4576f15818f60583a90259918f1b760de
parent90e477379e92c110a34ca0d108aa97d5b02076ee
ice: Fix flag used for module query

When checking the PHY for status, by specification, the driver
should be using "topology" mode when querying the module type.

Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c