Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2 struct device * -> device_t, struct cfdata * -...
details: https://anonhg.NetBSD.org/src/rev/ab40189ed1ef
branches: trunk
changeset: 782022:ab40189ed1ef
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 13 06:28:54 2012 +0000
description:
struct device * -> device_t, struct cfdata * -> cfdata_t (from chs@)
diffstat:
sys/arch/sun2/dev/zs.c | 6 +++---
sys/arch/sun2/sun2/obmem.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 2607f1a93262 -r ab40189ed1ef sys/arch/sun2/dev/zs.c
--- a/sys/arch/sun2/dev/zs.c Sat Oct 13 06:27:51 2012 +0000
+++ b/sys/arch/sun2/dev/zs.c Sat Oct 13 06:28:54 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.20 2011/10/26 00:56:59 mrg Exp $ */
+/* $NetBSD: zs.c,v 1.21 2012/10/13 06:28:54 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.20 2011/10/26 00:56:59 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.21 2012/10/13 06:28:54 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -170,7 +170,7 @@
*/
for (channel = 0; channel < 2; channel++) {
struct zschan *zc;
- struct device *child;
+ device_t child;
zsc_args.channel = channel;
zsc_args.hwflags = 0;
diff -r 2607f1a93262 -r ab40189ed1ef sys/arch/sun2/sun2/obmem.c
--- a/sys/arch/sun2/sun2/obmem.c Sat Oct 13 06:27:51 2012 +0000
+++ b/sys/arch/sun2/sun2/obmem.c Sat Oct 13 06:28:54 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obmem.c,v 1.17 2008/07/06 13:29:50 tsutsui Exp $ */
+/* $NetBSD: obmem.c,v 1.18 2012/10/13 06:28:54 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obmem.c,v 1.17 2008/07/06 13:29:50 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obmem.c,v 1.18 2012/10/13 06:28:54 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -77,7 +77,7 @@
};
static int
-obmem_match(struct device *parent, struct cfdata *cf, void *aux)
+obmem_match(device_t parent, cfdata_t cf, void *aux)
{
struct mainbus_attach_args *ma = aux;
Home |
Main Index |
Thread Index |
Old Index