Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vsa Un __P.



details:   https://anonhg.NetBSD.org/src/rev/f1850a7b3667
branches:  trunk
changeset: 495366:f1850a7b3667
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 26 21:50:48 2000 +0000

description:
Un __P.

diffstat:

 sys/arch/vax/vsa/asc_vsbus.c   |  28 +++++++++++++-------------
 sys/arch/vax/vsa/dz_ibus.c     |   8 +++---
 sys/arch/vax/vsa/if_ln.c       |  30 ++++++++++++++--------------
 sys/arch/vax/vsa/if_ze_vsbus.c |   6 ++--
 sys/arch/vax/vsa/lkc.c         |  10 ++++----
 sys/arch/vax/vsa/smg.c         |  44 +++++++++++++++++++++---------------------
 sys/arch/vax/vsa/vsbus_dma.c   |  30 ++++++++++++++--------------
 7 files changed, 78 insertions(+), 78 deletions(-)

diffs (truncated from 303 to 300 lines):

diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/asc_vsbus.c
--- a/sys/arch/vax/vsa/asc_vsbus.c      Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/asc_vsbus.c      Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asc_vsbus.c,v 1.19 2000/07/19 18:15:03 matt Exp $      */
+/*     $NetBSD: asc_vsbus.c,v 1.20 2000/07/26 21:50:48 matt Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.19 2000/07/19 18:15:03 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.20 2000/07/26 21:50:48 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -102,8 +102,8 @@
 #define        ASC_MAXXFERSIZE         65536
 #define        ASC_FREQUENCY           25000000
 
-static int asc_vsbus_match __P((struct device *, struct cfdata *, void *));
-static void asc_vsbus_attach __P((struct device *, struct device *, void *));
+static int asc_vsbus_match(struct device *, struct cfdata *, void *);
+static void asc_vsbus_attach(struct device *, struct device *, void *);
 
 struct cfattach asc_vsbus_ca = {
        sizeof(struct asc_vsbus_softc), asc_vsbus_match, asc_vsbus_attach
@@ -112,16 +112,16 @@
 /*
  * Functions and the switch for the MI code
  */
-static u_char  asc_vsbus_read_reg __P((struct ncr53c9x_softc *, int));
-static void    asc_vsbus_write_reg __P((struct ncr53c9x_softc *, int, u_char));
-static int     asc_vsbus_dma_isintr __P((struct ncr53c9x_softc *));
-static void    asc_vsbus_dma_reset __P((struct ncr53c9x_softc *));
-static int     asc_vsbus_dma_intr __P((struct ncr53c9x_softc *));
-static int     asc_vsbus_dma_setup __P((struct ncr53c9x_softc *, caddr_t *,
-                   size_t *, int, size_t *));
-static void    asc_vsbus_dma_go __P((struct ncr53c9x_softc *));
-static void    asc_vsbus_dma_stop __P((struct ncr53c9x_softc *));
-static int     asc_vsbus_dma_isactive __P((struct ncr53c9x_softc *));
+static u_char  asc_vsbus_read_reg(struct ncr53c9x_softc *, int);
+static void    asc_vsbus_write_reg(struct ncr53c9x_softc *, int, u_char);
+static int     asc_vsbus_dma_isintr(struct ncr53c9x_softc *);
+static void    asc_vsbus_dma_reset(struct ncr53c9x_softc *);
+static int     asc_vsbus_dma_intr(struct ncr53c9x_softc *);
+static int     asc_vsbus_dma_setup(struct ncr53c9x_softc *, caddr_t *,
+                   size_t *, int, size_t *);
+static void    asc_vsbus_dma_go(struct ncr53c9x_softc *);
+static void    asc_vsbus_dma_stop(struct ncr53c9x_softc *);
+static int     asc_vsbus_dma_isactive(struct ncr53c9x_softc *);
 
 static struct ncr53c9x_glue asc_vsbus_glue = {
        asc_vsbus_read_reg,
diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/dz_ibus.c
--- a/sys/arch/vax/vsa/dz_ibus.c        Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/dz_ibus.c        Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dz_ibus.c,v 1.19 2000/07/19 18:15:04 matt Exp $ */
+/*     $NetBSD: dz_ibus.c,v 1.20 2000/07/26 21:50:49 matt Exp $ */
 /*
  * Copyright (c) 1998 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -59,9 +59,9 @@
 #include "ioconf.h"
 #include "lkc.h"
 
-static  int     dz_vsbus_match __P((struct device *, struct cfdata *, void *));
-static  void    dz_vsbus_attach __P((struct device *, struct device *, void *));
-static int     dz_print __P((void *, const char *));
+static  int     dz_vsbus_match(struct device *, struct cfdata *, void *);
+static  void    dz_vsbus_attach(struct device *, struct device *, void *);
+static int     dz_print(void *, const char *);
 
 static vaddr_t dz_regs; /* Used for console */
 
diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/if_ln.c
--- a/sys/arch/vax/vsa/if_ln.c  Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/if_ln.c  Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ln.c,v 1.13 1999/05/18 23:52:54 thorpej Exp $       */
+/*     $NetBSD: if_ln.c,v 1.14 2000/07/26 21:50:49 matt Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -205,20 +205,20 @@
        char    sc_enaddr[6];
 };
 
-static inline struct mbuf *ln_get __P((struct ln_softc *, caddr_t, int));
-void   ln_start __P((struct ifnet *));
-void   ln_watchdog __P((struct ifnet *));
-int    ln_ioctl __P((struct ifnet *, u_long, caddr_t));
-void   ln_setladrf __P((struct ethercom *, u_int16_t *));
-static void ln_intr __P((int));
-int    lnmatch __P((struct device *, struct cfdata *, void *));
-void   lnattach __P((struct device *, struct device *, void *));
-static void ln_init __P((struct ln_softc *));
-static inline int ln_put __P((struct ln_softc *, caddr_t, struct mbuf *));
-static inline void ln_rint __P((struct ln_softc *));
-static inline void ln_tint __P((struct ln_softc *));
-static inline void ln_read __P((struct ln_softc *, caddr_t, int)); 
-void   ln_reset __P((struct ln_softc *));
+static inline struct mbuf *ln_get(struct ln_softc *, caddr_t, int);
+void   ln_start(struct ifnet *);
+void   ln_watchdog(struct ifnet *);
+int    ln_ioctl(struct ifnet *, u_long, caddr_t);
+void   ln_setladrf(struct ethercom *, u_int16_t *);
+static void ln_intr(int);
+int    lnmatch(struct device *, struct cfdata *, void *);
+void   lnattach(struct device *, struct device *, void *);
+static void ln_init(struct ln_softc *);
+static inline int ln_put(struct ln_softc *, caddr_t, struct mbuf *);
+static inline void ln_rint(struct ln_softc *);
+static inline void ln_tint(struct ln_softc *);
+static inline void ln_read(struct ln_softc *, caddr_t, int); 
+void   ln_reset(struct ln_softc *);
 
 static short *lance_csr; /* LANCE CSR virtual address */
 static int *lance_addr; /* Ethernet address */
diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/if_ze_vsbus.c
--- a/sys/arch/vax/vsa/if_ze_vsbus.c    Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/if_ze_vsbus.c    Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: if_ze_vsbus.c,v 1.4 2000/06/04 02:19:29 matt Exp $ */
+/*      $NetBSD: if_ze_vsbus.c,v 1.5 2000/07/26 21:50:49 matt Exp $ */
 /*
  * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
  *
@@ -64,8 +64,8 @@
 #define NISA_ROM        0x27800000
 #define        SGECVEC         0x108
 
-static int     zematch __P((struct device *, struct cfdata *, void *));
-static void    zeattach __P((struct device *, struct device *, void *));
+static int     zematch(struct device *, struct cfdata *, void *);
+static void    zeattach(struct device *, struct device *, void *);
 
 struct cfattach ze_vsbus_ca = {
        sizeof(struct ze_softc), zematch, zeattach
diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/lkc.c
--- a/sys/arch/vax/vsa/lkc.c    Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/lkc.c    Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lkc.c,v 1.11 1999/06/06 19:10:49 ragge Exp $ */
+/*     $NetBSD: lkc.c,v 1.12 2000/07/26 21:50:49 matt Exp $ */
 /*
  * Copyright (c) 1998 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -48,10 +48,10 @@
 
 #include "ioconf.h"
 
-static  int lkc_match __P((struct device *, struct cfdata *, void *));
-static  void lkc_attach __P((struct device *, struct device *, void *));
-static int lkc_catch __P((int, int));
-       int lkc_decode __P((int));
+static  int lkc_match(struct device *, struct cfdata *, void *);
+static  void lkc_attach(struct device *, struct device *, void *);
+static int lkc_catch(int, int);
+       int lkc_decode(int);
 
 struct  lkc_softc {
        struct  device ls_dev;
diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/smg.c
--- a/sys/arch/vax/vsa/smg.c    Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/smg.c    Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smg.c,v 1.23 2000/06/26 04:56:14 simonb Exp $ */
+/*     $NetBSD: smg.c,v 1.24 2000/07/26 21:50:49 matt Exp $ */
 /*
  * Copyright (c) 1998 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -57,8 +57,8 @@
 #define SM_CHEIGHT     15      /* lines a char consists of */
 #define SM_NEXTROW     (SM_COLS * SM_CHEIGHT)
 
-static int smg_match __P((struct device *, struct cfdata *, void *));
-static void smg_attach __P((struct device *, struct device *, void *));
+static int smg_match(struct device *, struct cfdata *, void *);
+static void smg_attach(struct device *, struct device *, void *);
 
 struct smg_softc {
        struct  device ss_dev;
@@ -68,14 +68,14 @@
        sizeof(struct smg_softc), smg_match, smg_attach,
 };
 
-static void    smg_cursor __P((void *, int, int, int));
-static int     smg_mapchar __P((void *, int, unsigned int *));
-static void    smg_putchar __P((void *, int, int, u_int, long));
-static void    smg_copycols __P((void *, int, int, int,int));
-static void    smg_erasecols __P((void *, int, int, int, long));
-static void    smg_copyrows __P((void *, int, int, int));
-static void    smg_eraserows __P((void *, int, int, long));
-static int     smg_alloc_attr __P((void *, int, int, int, long *));
+static void    smg_cursor(void *, int, int, int);
+static int     smg_mapchar(void *, int, unsigned int *);
+static void    smg_putchar(void *, int, int, u_int, long);
+static void    smg_copycols(void *, int, int, int,int);
+static void    smg_erasecols(void *, int, int, int, long);
+static void    smg_copyrows(void *, int, int, int);
+static void    smg_eraserows(void *, int, int, long);
+static int     smg_alloc_attr(void *, int, int, int, long *);
 
 const struct wsdisplay_emulops smg_emulops = {
        smg_cursor,
@@ -113,14 +113,14 @@
        sm_addr[col + (row * SM_CHEIGHT * SM_COLS) + line * SM_COLS]
 
 
-static int     smg_ioctl __P((void *, u_long, caddr_t, int, struct proc *));
-static paddr_t smg_mmap __P((void *, off_t, int));
-static int     smg_alloc_screen __P((void *, const struct wsscreen_descr *,
-                                     void **, int *, int *, long *));
-static void    smg_free_screen __P((void *, void *));
-static int     smg_show_screen __P((void *, void *, int,
-                                    void (*) (void *, int, int), void *));
-static void    smg_crsr_blink __P((void *));
+static int     smg_ioctl(void *, u_long, caddr_t, int, struct proc *);
+static paddr_t smg_mmap(void *, off_t, int);
+static int     smg_alloc_screen(void *, const struct wsscreen_descr *,
+                                     void **, int *, int *, long *);
+static void    smg_free_screen(void *, void *);
+static int     smg_show_screen(void *, void *, int,
+                                    void (*) (void *, int, int), void *);
+static void    smg_crsr_blink(void *);
 
 const struct wsdisplay_accessops smg_accessops = {
        smg_ioctl,
@@ -441,7 +441,7 @@
        void *v;
        void *cookie;
        int waitok;
-       void (*cb) __P((void *, int, int));
+       void (*cb)(void *, int, int));
        void *cbarg;
 {
        struct smg_screen *ss = cookie;
@@ -479,8 +479,8 @@
 smgcninit(cndev)
        struct  consdev *cndev;
 {
-       extern void lkccninit __P((struct consdev *));
-       extern int lkccngetc __P((dev_t));
+       extern void lkccninit(struct consdev *);
+       extern int lkccngetc(dev_t);
        /* Clear screen */
        memset(sm_addr, 0, 128*864);
 
diff -r 1eeb5cbb20ea -r f1850a7b3667 sys/arch/vax/vsa/vsbus_dma.c
--- a/sys/arch/vax/vsa/vsbus_dma.c      Wed Jul 26 19:39:07 2000 +0000
+++ b/sys/arch/vax/vsa/vsbus_dma.c      Wed Jul 26 21:50:48 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vsbus_dma.c,v 1.6 2000/06/29 07:14:37 mrg Exp $ */
+/* $NetBSD: vsbus_dma.c,v 1.7 2000/07/26 21:50:49 matt Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -52,27 +52,27 @@
 #include <machine/sgmap.h>
 #include <machine/vsbus.h>
 
-static int vsbus_bus_dmamap_create_sgmap __P((bus_dma_tag_t, bus_size_t, int,
-           bus_size_t, bus_size_t, int, bus_dmamap_t *));
+static int vsbus_bus_dmamap_create_sgmap(bus_dma_tag_t, bus_size_t, int,
+           bus_size_t, bus_size_t, int, bus_dmamap_t *);
 
-static void vsbus_bus_dmamap_destroy_sgmap __P((bus_dma_tag_t, bus_dmamap_t));
+static void vsbus_bus_dmamap_destroy_sgmap(bus_dma_tag_t, bus_dmamap_t);
 
-static int vsbus_bus_dmamap_load_sgmap __P((bus_dma_tag_t, bus_dmamap_t, void *,
-           bus_size_t, struct proc *, int));
+static int vsbus_bus_dmamap_load_sgmap(bus_dma_tag_t, bus_dmamap_t, void *,
+           bus_size_t, struct proc *, int);
 
-static int vsbus_bus_dmamap_load_mbuf_sgmap __P((bus_dma_tag_t, bus_dmamap_t,
-           struct mbuf *, int));
+static int vsbus_bus_dmamap_load_mbuf_sgmap(bus_dma_tag_t, bus_dmamap_t,
+           struct mbuf *, int);
 
-static int vsbus_bus_dmamap_load_uio_sgmap __P((bus_dma_tag_t, bus_dmamap_t,
-           struct uio *, int));
+static int vsbus_bus_dmamap_load_uio_sgmap(bus_dma_tag_t, bus_dmamap_t,
+           struct uio *, int);
 
-static int vsbus_bus_dmamap_load_raw_sgmap __P((bus_dma_tag_t, bus_dmamap_t,
-           bus_dma_segment_t *, int, bus_size_t, int));
+static int vsbus_bus_dmamap_load_raw_sgmap(bus_dma_tag_t, bus_dmamap_t,
+           bus_dma_segment_t *, int, bus_size_t, int);
 
-static void vsbus_bus_dmamap_unload_sgmap __P((bus_dma_tag_t, bus_dmamap_t));
+static void vsbus_bus_dmamap_unload_sgmap(bus_dma_tag_t, bus_dmamap_t);
 
-static void vsbus_bus_dmamap_sync __P((bus_dma_tag_t, bus_dmamap_t, bus_addr_t,
-           bus_size_t, int));
+static void vsbus_bus_dmamap_sync(bus_dma_tag_t, bus_dmamap_t, bus_addr_t,
+           bus_size_t, int);



Home | Main Index | Thread Index | Old Index