Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/dev Fix small (but fatal) oversight in devi...



details:   https://anonhg.NetBSD.org/src/rev/72dfda0a5b23
branches:  trunk
changeset: 449613:72dfda0a5b23
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Mar 13 06:27:34 2019 +0000

description:
Fix small (but fatal) oversight in device/softc split.

diffstat:

 sys/arch/mvme68k/dev/pcctwo_68k.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ad5451b109ef -r 72dfda0a5b23 sys/arch/mvme68k/dev/pcctwo_68k.c
--- a/sys/arch/mvme68k/dev/pcctwo_68k.c Wed Mar 13 05:22:07 2019 +0000
+++ b/sys/arch/mvme68k/dev/pcctwo_68k.c Wed Mar 13 06:27:34 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcctwo_68k.c,v 1.10 2012/10/27 17:18:04 chs Exp $      */
+/*     $NetBSD: pcctwo_68k.c,v 1.11 2019/03/13 06:27:34 martin Exp $   */
 
 /*-
  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcctwo_68k.c,v 1.10 2012/10/27 17:18:04 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcctwo_68k.c,v 1.11 2019/03/13 06:27:34 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -187,6 +187,7 @@
        uint8_t cid;
 
        sc = sys_pcctwo = device_private(self);
+       sc->sc_dev = self;
        ma = aux;
 
        /* Get a handle to the PCCChip2's registers */



Home | Main Index | Thread Index | Old Index