Module Name: src
Committed By: tsutsui
Date: Sat Oct 13 06:28:54 UTC 2012
Modified Files:
src/sys/arch/sun2/dev: zs.c
src/sys/arch/sun2/sun2: obmem.c
Log Message:
struct device * -> device_t, struct cfdata * -> cfdata_t (from chs@)
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/sun2/dev/zs.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sun2/sun2/obmem.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/sun2/dev/zs.c
diff -u src/sys/arch/sun2/dev/zs.c:1.20 src/sys/arch/sun2/dev/zs.c:1.21
--- src/sys/arch/sun2/dev/zs.c:1.20 Wed Oct 26 00:56:59 2011
+++ src/sys/arch/sun2/dev/zs.c Sat Oct 13 06:28:54 2012
@@ -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 @@ zs_attach(struct zsc_softc *zsc, struct
*/
for (channel = 0; channel < 2; channel++) {
struct zschan *zc;
- struct device *child;
+ device_t child;
zsc_args.channel = channel;
zsc_args.hwflags = 0;
Index: src/sys/arch/sun2/sun2/obmem.c
diff -u src/sys/arch/sun2/sun2/obmem.c:1.17 src/sys/arch/sun2/sun2/obmem.c:1.18
--- src/sys/arch/sun2/sun2/obmem.c:1.17 Sun Jul 6 13:29:50 2008
+++ src/sys/arch/sun2/sun2/obmem.c Sat Oct 13 06:28:54 2012
@@ -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 struct sun68k_bus_space_tag obmem
};
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;