Module Name: src Committed By: yamaguchi Date: Fri Mar 5 13:21:07 UTC 2021
Modified Files: src/sys/dev/pci: if_iavf.c Log Message: Fix missing IFM_FDX To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_iavf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_iavf.c diff -u src/sys/dev/pci/if_iavf.c:1.12 src/sys/dev/pci/if_iavf.c:1.13 --- src/sys/dev/pci/if_iavf.c:1.12 Tue Feb 9 15:05:49 2021 +++ src/sys/dev/pci/if_iavf.c Fri Mar 5 13:21:07 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iavf.c,v 1.12 2021/02/09 15:05:49 jakllsch Exp $ */ +/* $NetBSD: if_iavf.c,v 1.13 2021/03/05 13:21:07 yamaguchi Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -75,7 +75,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_iavf.c,v 1.12 2021/02/09 15:05:49 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_iavf.c,v 1.13 2021/03/05 13:21:07 yamaguchi Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -4435,6 +4435,7 @@ iavf_process_vc_event(struct iavf_softc if (event->link_status) { link = LINK_STATE_UP; sc->sc_media_status |= IFM_ACTIVE; + sc->sc_media_active |= IFM_FDX; ifp->if_baudrate = 0; speed = iavf_find_link_speed(sc, event->link_speed);