Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci I think it's not required to call msk_init_yukon...
details: https://anonhg.NetBSD.org/src/rev/bbc859881160
branches: trunk
changeset: 999456:bbc859881160
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jun 03 05:22:57 2019 +0000
description:
I think it's not required to call msk_init_yukon() in msk_attach().
Fixes PR kern/54261 reported by David shao.
diffstat:
sys/dev/pci/if_msk.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r c7bc543fc387 -r bbc859881160 sys/dev/pci/if_msk.c
--- a/sys/dev/pci/if_msk.c Sun Jun 02 23:28:32 2019 +0000
+++ b/sys/dev/pci/if_msk.c Mon Jun 03 05:22:57 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_msk.c,v 1.90 2019/05/28 07:41:49 msaitoh Exp $ */
+/* $NetBSD: if_msk.c,v 1.91 2019/06/03 05:22:57 msaitoh Exp $ */
/* $OpenBSD: if_msk.c,v 1.79 2009/10/15 17:54:56 deraadt Exp $ */
/*
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.90 2019/05/28 07:41:49 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.91 2019/06/03 05:22:57 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1242,8 +1242,6 @@
/*
* Do miibus setup.
*/
- msk_init_yukon(sc_if);
-
DPRINTFN(2, ("msk_attach: 1\n"));
mii->mii_ifp = ifp;
Home |
Main Index |
Thread Index |
Old Index