> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of 
> Aleksandr Loktionov
> Sent: Friday, April 10, 2026 12:49 AM
> To: [email protected]; Nguyen, Anthony L 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>
> Cc: [email protected]; Greenwalt, Paul <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next 3/10] ice: add PORT_AUI and 
> PORT_NONE ethtool port type reporting
> 
> Now that ICE_MEDIA_AUI and ICE_MEDIA_NONE enum values exist,
> ice_get_link_ksettings() reports PORT_OTHER for both of them because the 
> switch falls through to the former default handler.
> 
> Replace the catch-all default with an explicit ICE_MEDIA_UNKNOWN case for 
> PORT_OTHER, and add proper ICE_MEDIA_AUI -> PORT_AUI and ICE_MEDIA_NONE -> 
> PORT_NONE mappings.  The switch now 
> covers every enum ice_media_type value.
> 
> Suggested-by: Paul Greenwalt <[email protected]>
> Signed-off-by: Aleksandr Loktionov <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_ethtool.c | 11 +++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

Tested-by: Alexander Nowlin <[email protected]>

Reply via email to