summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/mb86950.c32
-rw-r--r--sys/dev/ic/mb86950var.h26
-rw-r--r--sys/dev/mca/if_tra_mca.c10
3 files changed, 34 insertions, 34 deletions
diff --git a/sys/dev/ic/mb86950.c b/sys/dev/ic/mb86950.c
index 62081069c0a..8eed45836cd 100644
--- a/sys/dev/ic/mb86950.c
+++ b/sys/dev/ic/mb86950.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mb86950.c,v 1.12 2008/11/07 00:20:02 dyoung Exp $ */
+/* $NetBSD: mb86950.c,v 1.13 2009/03/14 14:46:08 dsl Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mb86950.c,v 1.12 2008/11/07 00:20:02 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mb86950.c,v 1.13 2009/03/14 14:46:08 dsl Exp $");
/*
* Device driver for Fujitsu mb86950 based Ethernet cards.
@@ -167,26 +167,26 @@ __KERNEL_RCSID(0, "$NetBSD: mb86950.c,v 1.12 2008/11/07 00:20:02 dyoung Exp $");
#endif /* __BUS_SPACE_HAS_STREAM_METHODS */
/* Standard driver entry points. These can be static. */
-int mb86950_ioctl __P((struct ifnet *, u_long, void *));
-void mb86950_init __P((struct mb86950_softc *));
-void mb86950_start __P((struct ifnet *));
-void mb86950_watchdog __P((struct ifnet *));
-void mb86950_reset __P((struct mb86950_softc *));
+int mb86950_ioctl(struct ifnet *, u_long, void *);
+void mb86950_init(struct mb86950_softc *);
+void mb86950_start(struct ifnet *);
+void mb86950_watchdog(struct ifnet *);
+void mb86950_reset(struct mb86950_softc *);
/* Local functions. */
-void mb86950_stop __P((struct mb86950_softc *));
-void mb86950_tint __P((struct mb86950_softc *, u_int8_t));
-void mb86950_rint __P((struct mb86950_softc *, u_int8_t));
-int mb86950_get_fifo __P((struct mb86950_softc *, u_int));
-ushort mb86950_put_fifo __P((struct mb86950_softc *, struct mbuf *));
-void mb86950_drain_fifo __P((struct mb86950_softc *));
+void mb86950_stop(struct mb86950_softc *);
+void mb86950_tint(struct mb86950_softc *, u_int8_t);
+void mb86950_rint(struct mb86950_softc *, u_int8_t);
+int mb86950_get_fifo(struct mb86950_softc *, u_int);
+ushort mb86950_put_fifo(struct mb86950_softc *, struct mbuf *);
+void mb86950_drain_fifo(struct mb86950_softc *);
-int mb86950_mediachange __P((struct ifnet *));
-void mb86950_mediastatus __P((struct ifnet *, struct ifmediareq *));
+int mb86950_mediachange(struct ifnet *);
+void mb86950_mediastatus(struct ifnet *, struct ifmediareq *);
#if ESTAR_DEBUG >= 1
-void mb86950_dump __P((int, struct mb86950_softc *));
+void mb86950_dump(int, struct mb86950_softc *);
#endif
/********************************************************************/
diff --git a/sys/dev/ic/mb86950var.h b/sys/dev/ic/mb86950var.h
index dd855354b7a..cd95b7dfe25 100644
--- a/sys/dev/ic/mb86950var.h
+++ b/sys/dev/ic/mb86950var.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mb86950var.h,v 1.3 2005/12/11 12:21:27 christos Exp $ */
+/* $NetBSD: mb86950var.h,v 1.4 2009/03/14 14:46:09 dsl Exp $ */
/*
* Copyright (c) 1995 Mika Kortelainen
@@ -68,12 +68,12 @@ struct mb86950_softc {
#define ESTAR_STAT_ENABLED 0x0001 /* power enabled on interface */
#define ESTAR_STAT_ATTACHED 0x0002 /* attach has succeeded */
- int (*sc_enable) __P((struct mb86950_softc *));
- void (*sc_disable) __P((struct mb86950_softc *));
+ int (*sc_enable)(struct mb86950_softc *);
+ void (*sc_disable)(struct mb86950_softc *);
- int (*sc_mediachange) __P((struct mb86950_softc *));
- void (*sc_mediastatus) __P((struct mb86950_softc *,
- struct ifmediareq *));
+ int (*sc_mediachange)(struct mb86950_softc *);
+ void (*sc_mediastatus)(struct mb86950_softc *,
+ struct ifmediareq *);
};
@@ -82,10 +82,10 @@ struct mb86950_softc {
#define GOOD_PKT 0x20
-void mb86950_attach __P((struct mb86950_softc *, u_int8_t *));
-void mb86950_config __P((struct mb86950_softc *, int *, int, int));
-int mb86950_intr __P((void *));
-int mb86950_enable __P((struct mb86950_softc *));
-void mb86950_disable __P((struct mb86950_softc *));
-int mb86950_activate __P((struct device *, enum devact));
-int mb86950_detach __P((struct mb86950_softc *));
+void mb86950_attach(struct mb86950_softc *, u_int8_t *);
+void mb86950_config(struct mb86950_softc *, int *, int, int);
+int mb86950_intr(void *);
+int mb86950_enable(struct mb86950_softc *);
+void mb86950_disable(struct mb86950_softc *);
+int mb86950_activate(struct device *, enum devact);
+int mb86950_detach(struct mb86950_softc *);
diff --git a/sys/dev/mca/if_tra_mca.c b/sys/dev/mca/if_tra_mca.c
index 16ae75794ef..fdd3dddf0a7 100644
--- a/sys/dev/mca/if_tra_mca.c
+++ b/sys/dev/mca/if_tra_mca.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tra_mca.c,v 1.10 2008/04/28 20:23:53 martin Exp $ */
+/* $NetBSD: if_tra_mca.c,v 1.11 2009/03/14 14:46:09 dsl Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tra_mca.c,v 1.10 2008/04/28 20:23:53 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tra_mca.c,v 1.11 2009/03/14 14:46:09 dsl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -56,8 +56,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_tra_mca.c,v 1.10 2008/04/28 20:23:53 martin Exp $
#include <dev/mca/mcavar.h>
#include <dev/mca/mcadevs.h>
-int tiara_mca_match __P((struct device *, struct cfdata *, void *));
-void tiara_mca_attach __P((struct device *, struct device *, void *));
+int tiara_mca_match(struct device *, struct cfdata *, void *);
+void tiara_mca_attach(struct device *, struct device *, void *);
#define TIARA_NPORTS 0x20 /* 32 */
#define TIARA_PROM_ID 24 /* offset to mac addr stored in prom */
@@ -82,7 +82,7 @@ static const struct tiara_mca_product {
{ 0, NULL },
};
-static const struct tiara_mca_product *tiara_mca_lookup __P((u_int32_t));
+static const struct tiara_mca_product *tiara_mca_lookup(u_int32_t);
static const struct tiara_mca_product *
tiara_mca_lookup(id)