Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Accept IFM_NONE.
details: https://anonhg.NetBSD.org/src/rev/df932242a662
branches: trunk
changeset: 447071:df932242a662
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Sun Dec 30 04:18:09 2018 +0000
description:
Accept IFM_NONE.
diffstat:
sys/dev/pci/if_wm.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 56016ee701f9 -r df932242a662 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Sun Dec 30 03:23:46 2018 +0000
+++ b/sys/dev/pci/if_wm.c Sun Dec 30 04:18:09 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.611 2018/12/21 08:29:22 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.612 2018/12/30 04:18:09 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.611 2018/12/21 08:29:22 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.612 2018/12/30 04:18:09 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -10165,6 +10165,9 @@
case IFM_1000_T:
sc->sc_ctrl |= CTRL_SPEED_1000;
break;
+ case IFM_NONE:
+ /* There is no specific setting for IFM_NONE */
+ break;
default:
panic("wm_gmii_mediachange: bad media 0x%x",
ife->ifm_media);
Home |
Main Index |
Thread Index |
Old Index