Module Name: src
Committed By: martin
Date: Wed Feb 12 20:17:14 UTC 2020
Modified Files:
src/sys/arch/mac68k/nubus [netbsd-7]: grf_nubus.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1721):
sys/arch/mac68k/nubus/grf_nubus.c: revision 1.78
Set sc_dev field of softc.
Should pullup to 7.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.77.4.1 src/sys/arch/mac68k/nubus/grf_nubus.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/arch/mac68k/nubus/grf_nubus.c
diff -u src/sys/arch/mac68k/nubus/grf_nubus.c:1.77 src/sys/arch/mac68k/nubus/grf_nubus.c:1.77.4.1
--- src/sys/arch/mac68k/nubus/grf_nubus.c:1.77 Fri Oct 25 21:42:30 2013
+++ src/sys/arch/mac68k/nubus/grf_nubus.c Wed Feb 12 20:17:14 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_nubus.c,v 1.77 2013/10/25 21:42:30 martin Exp $ */
+/* $NetBSD: grf_nubus.c,v 1.77.4.1 2020/02/12 20:17:14 martin Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf_nubus.c,v 1.77 2013/10/25 21:42:30 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf_nubus.c,v 1.77.4.1 2020/02/12 20:17:14 martin Exp $");
#include <sys/param.h>
@@ -143,6 +143,7 @@ grfmv_attach(device_t parent, device_t s
memcpy(&sc->sc_slot, na->fmt, sizeof(nubus_slot));
+ sc->sc_dev = self;
sc->sc_tag = na->na_tag;
sc->card_id = na->drhw;
sc->sc_basepa = (bus_addr_t)NUBUS_SLOT2PA(na->slot);