summaryrefslogtreecommitdiff
path: root/sys/dev/ic/am79c930var.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/dev/ic/am79c930var.h
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/dev/ic/am79c930var.h')
-rw-r--r--sys/dev/ic/am79c930var.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/ic/am79c930var.h b/sys/dev/ic/am79c930var.h
index 82510940a8a..d85a071533e 100644
--- a/sys/dev/ic/am79c930var.h
+++ b/sys/dev/ic/am79c930var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: am79c930var.h,v 1.3 2001/07/04 09:02:58 niklas Exp $ */
+/* $OpenBSD: am79c930var.h,v 1.4 2002/03/14 01:26:54 millert Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -54,23 +54,23 @@ struct am79c930_softc
struct am79c930_ops
{
- void (*write_1) __P((struct am79c930_softc *, u_int32_t, u_int8_t));
- void (*write_2) __P((struct am79c930_softc *, u_int32_t, u_int16_t));
- void (*write_4) __P((struct am79c930_softc *, u_int32_t, u_int32_t));
- void (*write_bytes) __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t));
+ void (*write_1)(struct am79c930_softc *, u_int32_t, u_int8_t);
+ void (*write_2)(struct am79c930_softc *, u_int32_t, u_int16_t);
+ void (*write_4)(struct am79c930_softc *, u_int32_t, u_int32_t);
+ void (*write_bytes)(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t);
- u_int8_t (*read_1) __P((struct am79c930_softc *, u_int32_t));
- u_int16_t (*read_2) __P((struct am79c930_softc *, u_int32_t));
- u_int32_t (*read_4) __P((struct am79c930_softc *, u_int32_t));
- void (*read_bytes) __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t));
+ u_int8_t (*read_1)(struct am79c930_softc *, u_int32_t);
+ u_int16_t (*read_2)(struct am79c930_softc *, u_int32_t);
+ u_int32_t (*read_4)(struct am79c930_softc *, u_int32_t);
+ void (*read_bytes)(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t);
};
-void am79c930_chip_init __P((struct am79c930_softc *sc, int));
+void am79c930_chip_init(struct am79c930_softc *sc, int);
-void am79c930_gcr_setbits __P((struct am79c930_softc *sc, u_int8_t bits));
-void am79c930_gcr_clearbits __P((struct am79c930_softc *sc, u_int8_t bits));
+void am79c930_gcr_setbits(struct am79c930_softc *sc, u_int8_t bits);
+void am79c930_gcr_clearbits(struct am79c930_softc *sc, u_int8_t bits);
-u_int8_t am79c930_gcr_read __P((struct am79c930_softc *sc));
+u_int8_t am79c930_gcr_read(struct am79c930_softc *sc);
#define am79c930_hard_reset(sc) am79c930_gcr_setbits(sc, AM79C930_GCR_CORESET)
#define am79c930_hard_reset_off(sc) am79c930_gcr_clearbits(sc, AM79C930_GCR_CORESET)