Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/pnpbios de-__P



details:   https://anonhg.NetBSD.org/src/rev/d1113aed27e9
branches:  trunk
changeset: 573628:d1113aed27e9
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Feb 03 20:08:55 2005 +0000

description:
de-__P

diffstat:

 sys/arch/i386/pnpbios/com_pnpbios.c |   8 ++++----
 sys/arch/i386/pnpbios/ess_pnpbios.c |   8 ++++----
 sys/arch/i386/pnpbios/joy_pnpbios.c |   8 ++++----
 sys/arch/i386/pnpbios/lm_pnpbios.c  |  10 +++++-----
 sys/arch/i386/pnpbios/lpt_pnpbios.c |   8 ++++----
 sys/arch/i386/pnpbios/pnpbiosvar.h  |  30 ++++++++++++++----------------
 sys/arch/i386/pnpbios/sb_pnpbios.c  |   8 ++++----
 sys/arch/i386/pnpbios/wss_pnpbios.c |  10 +++++-----
 sys/arch/i386/pnpbios/ym_pnpbios.c  |   8 ++++----
 9 files changed, 48 insertions(+), 50 deletions(-)

diffs (285 lines):

diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/com_pnpbios.c
--- a/sys/arch/i386/pnpbios/com_pnpbios.c       Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/com_pnpbios.c       Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com_pnpbios.c,v 1.8 2002/10/02 05:47:16 thorpej Exp $ */
+/* $NetBSD: com_pnpbios.c,v 1.9 2005/02/03 20:08:55 perry Exp $ */
 /*
  * Copyright (c) 1999
  *     Matthias Drochner.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_pnpbios.c,v 1.8 2002/10/02 05:47:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_pnpbios.c,v 1.9 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -51,8 +51,8 @@
        void    *sc_ih;
 };
 
-int com_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void com_pnpbios_attach __P((struct device *, struct device *, void *));
+int com_pnpbios_match(struct device *, struct cfdata *, void *);
+void com_pnpbios_attach(struct device *, struct device *, void *);
 
 CFATTACH_DECL(com_pnpbios, sizeof(struct com_pnpbios_softc),
     com_pnpbios_match, com_pnpbios_attach, NULL, NULL);
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/ess_pnpbios.c
--- a/sys/arch/i386/pnpbios/ess_pnpbios.c       Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/ess_pnpbios.c       Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ess_pnpbios.c,v 1.11 2004/08/13 08:45:25 drochner Exp $        */
+/*     $NetBSD: ess_pnpbios.c,v 1.12 2005/02/03 20:08:55 perry Exp $   */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ess_pnpbios.c,v 1.11 2004/08/13 08:45:25 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ess_pnpbios.c,v 1.12 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -62,8 +62,8 @@
 #include <dev/isa/essreg.h>
 #include <dev/isa/essvar.h>
 
-int ess_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void ess_pnpbios_attach __P((struct device *, struct device *, void *));
+int ess_pnpbios_match(struct device *, struct cfdata *, void *);
+void ess_pnpbios_attach(struct device *, struct device *, void *);
 
 CFATTACH_DECL(ess_pnpbios, sizeof(struct ess_softc),
     ess_pnpbios_match, ess_pnpbios_attach, NULL, NULL);
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/joy_pnpbios.c
--- a/sys/arch/i386/pnpbios/joy_pnpbios.c       Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/joy_pnpbios.c       Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: joy_pnpbios.c,v 1.6 2002/10/02 05:47:16 thorpej Exp $  */
+/*     $NetBSD: joy_pnpbios.c,v 1.7 2005/02/03 20:08:55 perry Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: joy_pnpbios.c,v 1.6 2002/10/02 05:47:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: joy_pnpbios.c,v 1.7 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -53,8 +53,8 @@
 
 #include <dev/ic/joyvar.h>
 
-int    joy_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void   joy_pnpbios_attach __P((struct device *, struct device *, void *));
+int    joy_pnpbios_match(struct device *, struct cfdata *, void *);
+void   joy_pnpbios_attach(struct device *, struct device *, void *);
 
 CFATTACH_DECL(joy_pnpbios, sizeof(struct joy_softc),
     joy_pnpbios_match, joy_pnpbios_attach, NULL, NULL);
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/lm_pnpbios.c
--- a/sys/arch/i386/pnpbios/lm_pnpbios.c        Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/lm_pnpbios.c        Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lm_pnpbios.c,v 1.8 2002/11/15 14:55:45 ad Exp $ */
+/*     $NetBSD: lm_pnpbios.c,v 1.9 2005/02/03 20:08:55 perry Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lm_pnpbios.c,v 1.8 2002/11/15 14:55:45 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lm_pnpbios.c,v 1.9 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -59,9 +59,9 @@
 #include <dev/ic/nslm7xvar.h>
 
 
-int lm_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void lm_pnpbios_attach __P((struct device *, struct device *, void *));
-int lm_pnpbios_hints_index __P((const char *));
+int lm_pnpbios_match(struct device *, struct cfdata *, void *);
+void lm_pnpbios_attach(struct device *, struct device *, void *);
+int lm_pnpbios_hints_index(const char *);
 u_int8_t lm_pnpbios_readreg(struct lm_softc *, int);
 void lm_pnpbios_writereg(struct lm_softc *, int, int);
 
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/lpt_pnpbios.c
--- a/sys/arch/i386/pnpbios/lpt_pnpbios.c       Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/lpt_pnpbios.c       Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lpt_pnpbios.c,v 1.6 2002/10/02 05:47:17 thorpej Exp $ */
+/* $NetBSD: lpt_pnpbios.c,v 1.7 2005/02/03 20:08:55 perry Exp $ */
 /*
  * Copyright (c) 1999
  *     Matthias Drochner.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lpt_pnpbios.c,v 1.6 2002/10/02 05:47:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lpt_pnpbios.c,v 1.7 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -50,8 +50,8 @@
        struct  lpt_softc sc_lpt;
 };
 
-int lpt_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void lpt_pnpbios_attach __P((struct device *, struct device *, void *));
+int lpt_pnpbios_match(struct device *, struct cfdata *, void *);
+void lpt_pnpbios_attach(struct device *, struct device *, void *);
 
 CFATTACH_DECL(lpt_pnpbios, sizeof(struct lpt_pnpbios_softc),
     lpt_pnpbios_match, lpt_pnpbios_attach, NULL, NULL);
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/pnpbiosvar.h
--- a/sys/arch/i386/pnpbios/pnpbiosvar.h        Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/pnpbiosvar.h        Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pnpbiosvar.h,v 1.5 2000/12/17 07:59:14 jmc Exp $ */
+/* $NetBSD: pnpbiosvar.h,v 1.6 2005/02/03 20:08:55 perry Exp $ */
 /*
  * Copyright (c) 1999
  *     Matthias Drochner.  All rights reserved.
@@ -30,7 +30,7 @@
        isa_chipset_tag_t paa_ic;
 };
 
-int pnpbios_probe __P((void));
+int pnpbios_probe(void);
 
 struct pnp_compatid {
        char idstr[8];
@@ -85,18 +85,16 @@
        char *primid;
 };
 
-int pnpbios_io_map __P((pnpbios_tag_t, struct pnpresources *, int,
-                       bus_space_tag_t *, bus_space_handle_t *));
-void pnpbios_io_unmap __P((pnpbios_tag_t, struct pnpresources *, int,
-                       bus_space_tag_t, bus_space_handle_t));
-void *pnpbios_intr_establish __P((pnpbios_tag_t, struct pnpresources *, int,
-                                 int, int (*)(void *), void *));
+int pnpbios_io_map(pnpbios_tag_t, struct pnpresources *, int,
+                       bus_space_tag_t *, bus_space_handle_t *);
+void pnpbios_io_unmap(pnpbios_tag_t, struct pnpresources *, int,
+                       bus_space_tag_t, bus_space_handle_t);
+void *pnpbios_intr_establish(pnpbios_tag_t, struct pnpresources *, int,
+                                 int, int (*)(void *), void *);
 
-int pnpbios_getiobase __P((pnpbios_tag_t, struct pnpresources *, int,
-                          bus_space_tag_t *, int *));
-int pnpbios_getiosize __P((pnpbios_tag_t, struct pnpresources *, int, int *));
-int pnpbios_getirqnum __P((pnpbios_tag_t, struct pnpresources *, int, int *,
-                          int *));
-int pnpbios_getdmachan __P((pnpbios_tag_t, struct pnpresources *, int, int *));
-void pnpbios_print_devres __P((struct device *,
-                              struct pnpbiosdev_attach_args *));
+int pnpbios_getiobase(pnpbios_tag_t, struct pnpresources *, int,
+                          bus_space_tag_t *, int *);
+int pnpbios_getiosize(pnpbios_tag_t, struct pnpresources *, int, int *);
+int pnpbios_getirqnum(pnpbios_tag_t, struct pnpresources *, int, int *, int *);
+int pnpbios_getdmachan(pnpbios_tag_t, struct pnpresources *, int, int *);
+void pnpbios_print_devres(struct device *, struct pnpbiosdev_attach_args *);
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/sb_pnpbios.c
--- a/sys/arch/i386/pnpbios/sb_pnpbios.c        Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/sb_pnpbios.c        Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sb_pnpbios.c,v 1.8 2002/10/02 05:47:17 thorpej Exp $ */
+/* $NetBSD: sb_pnpbios.c,v 1.9 2005/02/03 20:08:55 perry Exp $ */
 /*
  * Copyright (c) 1999
  *     Matthias Drochner.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sb_pnpbios.c,v 1.8 2002/10/02 05:47:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sb_pnpbios.c,v 1.9 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -53,8 +53,8 @@
 
 #include <dev/isa/sbdspvar.h>
 
-int sb_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void sb_pnpbios_attach __P((struct device *, struct device *, void *));
+int sb_pnpbios_match(struct device *, struct cfdata *, void *);
+void sb_pnpbios_attach(struct device *, struct device *, void *);
 
 CFATTACH_DECL(sb_pnpbios, sizeof(struct sbdsp_softc),
     sb_pnpbios_match, sb_pnpbios_attach, NULL, NULL);
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/wss_pnpbios.c
--- a/sys/arch/i386/pnpbios/wss_pnpbios.c       Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/wss_pnpbios.c       Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wss_pnpbios.c,v 1.11 2002/10/03 03:02:11 uwe Exp $ */
+/* $NetBSD: wss_pnpbios.c,v 1.12 2005/02/03 20:08:55 perry Exp $ */
 /*
  * Copyright (c) 1999
  *     Matthias Drochner.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wss_pnpbios.c,v 1.11 2002/10/03 03:02:11 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wss_pnpbios.c,v 1.12 2005/02/03 20:08:55 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -50,9 +50,9 @@
 #include <dev/isa/wssreg.h>
 #include <dev/isa/wssvar.h>
 
-int wss_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void wss_pnpbios_attach __P((struct device *, struct device *, void *));
-int wss_pnpbios_hints_index __P((const char *));
+int wss_pnpbios_match(struct device *, struct cfdata *, void *);
+void wss_pnpbios_attach(struct device *, struct device *, void *);
+int wss_pnpbios_hints_index(const char *);
 
 
 CFATTACH_DECL(wss_pnpbios, sizeof(struct wss_softc),
diff -r e061800eb054 -r d1113aed27e9 sys/arch/i386/pnpbios/ym_pnpbios.c
--- a/sys/arch/i386/pnpbios/ym_pnpbios.c        Thu Feb 03 20:08:44 2005 +0000
+++ b/sys/arch/i386/pnpbios/ym_pnpbios.c        Thu Feb 03 20:08:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ym_pnpbios.c,v 1.9 2002/10/02 05:47:18 thorpej Exp $ */
+/* $NetBSD: ym_pnpbios.c,v 1.10 2005/02/03 20:08:55 perry Exp $ */
 /*
  * Copyright (c) 1999
  *     Matthias Drochner.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ym_pnpbios.c,v 1.9 2002/10/02 05:47:18 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ym_pnpbios.c,v 1.10 2005/02/03 20:08:55 perry Exp $");
 
 #include "mpu_ym.h"
 
@@ -61,8 +61,8 @@
 #include <dev/isa/wssreg.h>
 #include <dev/isa/ymvar.h>
 
-int ym_pnpbios_match __P((struct device *, struct cfdata *, void *));
-void ym_pnpbios_attach __P((struct device *, struct device *, void *));
+int ym_pnpbios_match(struct device *, struct cfdata *, void *);
+void ym_pnpbios_attach(struct device *, struct device *, void *);
 
 CFATTACH_DECL(ym_pnpbios, sizeof(struct ym_softc),
     ym_pnpbios_match, ym_pnpbios_attach, NULL, NULL);



Home | Main Index | Thread Index | Old Index