Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc struct device * -> device_t



details:   https://anonhg.NetBSD.org/src/rev/0c03093ac6e1
branches:  trunk
changeset: 766173:0c03093ac6e1
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jun 17 19:04:00 2011 +0000

description:
struct device * -> device_t

diffstat:

 sys/arch/powerpc/include/cpu.h            |  6 +++---
 sys/arch/powerpc/isa/isa_machdep_common.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 0c534ac1a431 -r 0c03093ac6e1 sys/arch/powerpc/include/cpu.h
--- a/sys/arch/powerpc/include/cpu.h    Fri Jun 17 19:03:00 2011 +0000
+++ b/sys/arch/powerpc/include/cpu.h    Fri Jun 17 19:04:00 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.81 2011/06/15 15:18:20 matt Exp $    */
+/*     $NetBSD: cpu.h,v 1.82 2011/06/17 19:04:00 matt Exp $    */
 
 /*
  * Copyright (C) 1999 Wolfgang Solfrank.
@@ -157,7 +157,7 @@
 #ifdef MULTIPROCESSOR
 
 struct cpu_hatch_data {
-       struct device *self;
+       device_t self;
        struct cpu_info *ci;
        int running;
        int pir;
@@ -390,7 +390,7 @@
 void md_start_timebase(volatile struct cpu_hatch_data *);
 void md_sync_timebase(volatile struct cpu_hatch_data *);
 void md_setup_interrupts(void);
-int cpu_spinup(struct device *, struct cpu_info *);
+int cpu_spinup(device_t, struct cpu_info *);
 register_t cpu_hatch(void);
 void cpu_spinup_trampoline(void);
 #endif
diff -r 0c534ac1a431 -r 0c03093ac6e1 sys/arch/powerpc/isa/isa_machdep_common.c
--- a/sys/arch/powerpc/isa/isa_machdep_common.c Fri Jun 17 19:03:00 2011 +0000
+++ b/sys/arch/powerpc/isa/isa_machdep_common.c Fri Jun 17 19:04:00 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep_common.c,v 1.5 2009/08/19 15:02:47 dyoung Exp $    */
+/*     $NetBSD: isa_machdep_common.c,v 1.6 2011/06/17 19:05:20 matt Exp $      */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep_common.c,v 1.5 2009/08/19 15:02:47 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep_common.c,v 1.6 2011/06/17 19:05:20 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,7 +76,7 @@
 }
 
 void
-genppc_isa_attach_hook(struct device *parent, struct device *self,
+genppc_isa_attach_hook(device_t parent, device_t self,
     struct isabus_attach_args *iba)
 {
 



Home | Main Index | Thread Index | Old Index