Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/playstation2 Adapt to change: struct cfdata * -> cf...



details:   https://anonhg.NetBSD.org/src/rev/31a4872aede7
branches:  trunk
changeset: 346550:31a4872aede7
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Jul 18 21:54:12 2016 +0000

description:
Adapt to change: struct cfdata * -> cfdata_t

diffstat:

 sys/arch/playstation2/dev/sbus.c             |  12 ++++++------
 sys/arch/playstation2/dev/spd.c              |   8 ++++----
 sys/arch/playstation2/playstation2/mainbus.c |  12 ++++++------
 3 files changed, 16 insertions(+), 16 deletions(-)

diffs (131 lines):

diff -r 0736029c8d74 -r 31a4872aede7 sys/arch/playstation2/dev/sbus.c
--- a/sys/arch/playstation2/dev/sbus.c  Mon Jul 18 21:09:05 2016 +0000
+++ b/sys/arch/playstation2/dev/sbus.c  Mon Jul 18 21:54:12 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbus.c,v 1.12 2014/03/31 11:25:49 martin Exp $ */
+/*     $NetBSD: sbus.c,v 1.13 2016/07/18 21:54:12 maya Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbus.c,v 1.12 2014/03/31 11:25:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbus.c,v 1.13 2016/07/18 21:54:12 maya Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -78,9 +78,9 @@
 STATIC void sbus_init(int);
 STATIC int sbus_intr(void *);
 
-STATIC int sbus_match(struct device *, struct cfdata *, void *);
+STATIC int sbus_match(struct device *, cfdata_t, void *);
 STATIC void sbus_attach(struct device *, struct device *, void *);
-STATIC int sbus_search(struct device *, struct cfdata *,
+STATIC int sbus_search(struct device *, cfdata_t,
                       const int *, void *);
 STATIC int sbus_print(void *, const char *);
 
@@ -91,7 +91,7 @@
 STATIC int __sbus_attached;
 
 int
-sbus_match(struct device *parent, struct cfdata *cf, void *aux)
+sbus_match(struct device *parent, cfdata_t cf, void *aux)
 {
        struct mainbus_attach_args *ma = aux;
 
@@ -115,7 +115,7 @@
 }
 
 int
-sbus_search(struct device *parent, struct cfdata *cf,
+sbus_search(struct device *parent, cfdata_t cf,
            const int *ldesc, void *aux)
 {
        struct sbus_attach_args sa;
diff -r 0736029c8d74 -r 31a4872aede7 sys/arch/playstation2/dev/spd.c
--- a/sys/arch/playstation2/dev/spd.c   Mon Jul 18 21:09:05 2016 +0000
+++ b/sys/arch/playstation2/dev/spd.c   Mon Jul 18 21:54:12 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spd.c,v 1.9 2014/03/31 11:25:49 martin Exp $   */
+/*     $NetBSD: spd.c,v 1.10 2016/07/18 21:54:12 maya Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spd.c,v 1.9 2014/03/31 11:25:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spd.c,v 1.10 2016/07/18 21:54:12 maya Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -48,7 +48,7 @@
 #define STATIC static
 #endif
 
-STATIC int spd_match(struct device *, struct cfdata *, void *);
+STATIC int spd_match(struct device *, cfdata_t, void *);
 STATIC void spd_attach(struct device *, struct device *, void *);
 STATIC int spd_print(void *, const char *);
 STATIC int spd_intr(void *);
@@ -70,7 +70,7 @@
 #endif
 
 int
-spd_match(struct device *parent, struct cfdata *cf, void *aux)
+spd_match(struct device *parent, cfdata_t cf, void *aux)
 {
        
        return ((BOOTINFO_REF(BOOTINFO_DEVCONF) ==
diff -r 0736029c8d74 -r 31a4872aede7 sys/arch/playstation2/playstation2/mainbus.c
--- a/sys/arch/playstation2/playstation2/mainbus.c      Mon Jul 18 21:09:05 2016 +0000
+++ b/sys/arch/playstation2/playstation2/mainbus.c      Mon Jul 18 21:54:12 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.12 2014/03/31 11:25:49 martin Exp $      */
+/*     $NetBSD: mainbus.c,v 1.13 2016/07/18 21:54:12 maya Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,16 +27,16 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.12 2014/03/31 11:25:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.13 2016/07/18 21:54:12 maya Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 
 #include <machine/autoconf.h>
 
-static int mainbus_match(struct device *, struct cfdata *, void *);
+static int mainbus_match(struct device *, cfdata_t, void *);
 static void mainbus_attach(struct device *, struct device *, void *);
-static int mainbus_search(struct device *, struct cfdata *,
+static int mainbus_search(struct device *, cfdata_t,
                          const int *, void *);
 static int mainbus_print(void *, const char *);
 
@@ -44,7 +44,7 @@
     mainbus_match, mainbus_attach, NULL, NULL);
 
 static int
-mainbus_match(struct device *parent, struct cfdata *cf, void *aux)
+mainbus_match(struct device *parent, cfdata_t cf, void *aux)
 {
 
        return (1);
@@ -64,7 +64,7 @@
 }
 
 static int
-mainbus_search(struct device *parent, struct cfdata *cf,
+mainbus_search(struct device *parent, cfdata_t cf,
               const int *ldesc, void *aux)
 {
        struct mainbus_attach_args ma;



Home | Main Index | Thread Index | Old Index