[Intel-wired-lan] [PATCH S22 06/16] ice: Do not configure port with no media
Bowers, AndrewX
andrewx.bowers at intel.com
Tue Jul 2 22:52:18 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, June 26, 2019 2:20 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S22 06/16] ice: Do not configure port with
> no media
>
> The firmware reports an error when trying to configure a port with no media.
> Instead of always configuring the port, check for media before attempting to
> configure it. In the absence of media, turn off link and poll for media to
> become available before re-enabling link.
>
> Move ice_force_phys_link_state() up to avoid forward declaration.
>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 1 +
> drivers/net/ethernet/intel/ice/ice_main.c | 239 ++++++++++++++--------
> 2 files changed, 158 insertions(+), 82 deletions(-)
>
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list