Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/clockport Add sc_dev removed previously in a ...
details: https://anonhg.NetBSD.org/src/rev/d39041e85bca
branches: trunk
changeset: 782355:d39041e85bca
user: rkujawa <rkujawa%NetBSD.org@localhost>
date: Tue Oct 30 01:17:24 2012 +0000
description:
Add sc_dev removed previously in a moment of insanity. How did this ever work
is beyond me.
diffstat:
sys/arch/amiga/clockport/clockport.c | 3 ++-
sys/arch/amiga/clockport/clockportvar.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 4a349d88fb14 -r d39041e85bca sys/arch/amiga/clockport/clockport.c
--- a/sys/arch/amiga/clockport/clockport.c Tue Oct 30 00:33:11 2012 +0000
+++ b/sys/arch/amiga/clockport/clockport.c Tue Oct 30 01:17:24 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clockport.c,v 1.4 2012/10/27 17:17:26 chs Exp $ */
+/* $NetBSD: clockport.c,v 1.5 2012/10/30 01:17:24 rkujawa Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -62,6 +62,7 @@
aprint_normal("\n");
sc = device_private(self);
+ sc->sc_dev = self;
sc->cpb_aa = (struct clockportbus_attach_args *) aux;
config_search_ia(clockport_submatch, self, "clockport", 0);
diff -r 4a349d88fb14 -r d39041e85bca sys/arch/amiga/clockport/clockportvar.h
--- a/sys/arch/amiga/clockport/clockportvar.h Tue Oct 30 00:33:11 2012 +0000
+++ b/sys/arch/amiga/clockport/clockportvar.h Tue Oct 30 01:17:24 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clockportvar.h,v 1.4 2012/07/09 19:32:26 rkujawa Exp $ */
+/* $NetBSD: clockportvar.h,v 1.5 2012/10/30 01:17:24 rkujawa Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -38,6 +38,7 @@
};
struct clockportbus_softc {
+ device_t sc_dev;
struct clockportbus_attach_args *cpb_aa;
};
Home |
Main Index |
Thread Index |
Old Index