Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ews4800mips struct device * -> device_t, struct cfd...



details:   https://anonhg.NetBSD.org/src/rev/896555c23353
branches:  trunk
changeset: 782015:896555c23353
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Oct 13 06:08:30 2012 +0000

description:
struct device * -> device_t, struct cfdata * -> cfdata_t  (from chs@)

diffstat:

 sys/arch/ews4800mips/dev/ewskbd.c      |  8 ++++----
 sys/arch/ews4800mips/dev/ewsms.c       |  6 +++---
 sys/arch/ews4800mips/sbd/if_le_sbdio.c |  8 ++++----
 sys/arch/ews4800mips/sbd/kbms_sbdio.c  |  8 ++++----
 4 files changed, 15 insertions(+), 15 deletions(-)

diffs (121 lines):

diff -r 6fb7cc563496 -r 896555c23353 sys/arch/ews4800mips/dev/ewskbd.c
--- a/sys/arch/ews4800mips/dev/ewskbd.c Sat Oct 13 06:08:11 2012 +0000
+++ b/sys/arch/ews4800mips/dev/ewskbd.c Sat Oct 13 06:08:30 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ewskbd.c,v 1.9 2008/05/14 13:29:28 tsutsui Exp $       */
+/*     $NetBSD: ewskbd.c,v 1.10 2012/10/13 06:08:30 tsutsui Exp $      */
 
 /*-
  * Copyright (c) 2005 Izumi Tsutsui.  All rights reserved.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ewskbd.c,v 1.9 2008/05/14 13:29:28 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ewskbd.c,v 1.10 2012/10/13 06:08:30 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -124,7 +124,7 @@
 #define EWSKBD_KANA    0x04
 
        /* wscons glue */
-       struct device *wskbddev;
+       device_t wskbddev;
        int enabled;
 };
 
@@ -195,7 +195,7 @@
 }
 
 static void
-ewskbd_zsc_attach(struct device *parent, struct device *self, void *aux)
+ewskbd_zsc_attach(device_t parent, device_t self, void *aux)
 {
        struct ewskbd_softc *sc;
        struct zsc_softc *zsc;
diff -r 6fb7cc563496 -r 896555c23353 sys/arch/ews4800mips/dev/ewsms.c
--- a/sys/arch/ews4800mips/dev/ewsms.c  Sat Oct 13 06:08:11 2012 +0000
+++ b/sys/arch/ews4800mips/dev/ewsms.c  Sat Oct 13 06:08:30 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ewsms.c,v 1.7 2008/05/25 23:37:05 tsutsui Exp $        */
+/*     $NetBSD: ewsms.c,v 1.8 2012/10/13 06:08:30 tsutsui Exp $        */
 
 /*
  * Copyright (c) 2004 Steve Rumble
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ewsms.c,v 1.7 2008/05/25 23:37:05 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ewsms.c,v 1.8 2012/10/13 06:08:30 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -100,7 +100,7 @@
 
        /* wsmouse bits */
        int sc_enabled;
-       struct device *sc_wsmousedev;
+       device_t sc_wsmousedev;
 };
 
 static int  ewsms_zsc_match(device_t, cfdata_t, void *);
diff -r 6fb7cc563496 -r 896555c23353 sys/arch/ews4800mips/sbd/if_le_sbdio.c
--- a/sys/arch/ews4800mips/sbd/if_le_sbdio.c    Sat Oct 13 06:08:11 2012 +0000
+++ b/sys/arch/ews4800mips/sbd/if_le_sbdio.c    Sat Oct 13 06:08:30 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le_sbdio.c,v 1.6 2010/01/19 22:06:20 pooka Exp $    */
+/*     $NetBSD: if_le_sbdio.c,v 1.7 2012/10/13 06:08:30 tsutsui Exp $  */
 
 /*-
  * Copyright (c) 1996, 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le_sbdio.c,v 1.6 2010/01/19 22:06:20 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le_sbdio.c,v 1.7 2012/10/13 06:08:30 tsutsui Exp $");
 
 #include "opt_inet.h"
 
@@ -73,8 +73,8 @@
        bus_dmamap_t sc_dmamap;
 };
 
-int le_sbdio_match(device_t, struct cfdata *, void *);
-void le_sbdio_attach(device_t, struct device *, void *);
+int le_sbdio_match(device_t, cfdata_t, void *);
+void le_sbdio_attach(device_t, device_t, void *);
 static void le_sbdio_wrcsr(struct lance_softc *, uint16_t, uint16_t);
 static uint16_t le_sbdio_rdcsr(struct lance_softc *, uint16_t);
 
diff -r 6fb7cc563496 -r 896555c23353 sys/arch/ews4800mips/sbd/kbms_sbdio.c
--- a/sys/arch/ews4800mips/sbd/kbms_sbdio.c     Sat Oct 13 06:08:11 2012 +0000
+++ b/sys/arch/ews4800mips/sbd/kbms_sbdio.c     Sat Oct 13 06:08:30 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kbms_sbdio.c,v 1.9 2008/04/28 20:23:18 martin Exp $    */
+/*     $NetBSD: kbms_sbdio.c,v 1.10 2012/10/13 06:08:30 tsutsui Exp $  */
 
 /*-
  * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kbms_sbdio.c,v 1.9 2008/04/28 20:23:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kbms_sbdio.c,v 1.10 2012/10/13 06:08:30 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -61,8 +61,8 @@
 enum { MOUSE_PACKET_LEN = 5 };
 struct kbms_softc {
        device_t sc_dev;
-       struct device *sc_wskbd;
-       struct device *sc_wsmouse;
+       device_t sc_wskbd;
+       device_t sc_wsmouse;
        struct kbms_reg sc_reg;
        int sc_leds;
        int sc_flags;



Home | Main Index | Thread Index | Old Index