summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tc/am7990var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/tc/am7990var.h')
-rw-r--r--sys/alpha/tc/am7990var.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/sys/alpha/tc/am7990var.h b/sys/alpha/tc/am7990var.h
index 2560f9f..5f36651 100644
--- a/sys/alpha/tc/am7990var.h
+++ b/sys/alpha/tc/am7990var.h
@@ -101,15 +101,15 @@ struct am7990_softc {
* zero bytes in buffer
*/
void (*sc_copytodesc)
- __P((struct am7990_softc *, void *, int, int));
+ (struct am7990_softc *, void *, int, int);
void (*sc_copyfromdesc)
- __P((struct am7990_softc *, void *, int, int));
+ (struct am7990_softc *, void *, int, int);
void (*sc_copytobuf)
- __P((struct am7990_softc *, void *, int, int));
+ (struct am7990_softc *, void *, int, int);
void (*sc_copyfrombuf)
- __P((struct am7990_softc *, void *, int, int));
+ (struct am7990_softc *, void *, int, int);
void (*sc_zerobuf)
- __P((struct am7990_softc *, int, int));
+ (struct am7990_softc *, int, int);
/*
* Machine-dependent functions:
@@ -121,15 +121,15 @@ struct am7990_softc {
* media change hook - may be NULL
*/
u_int16_t (*sc_rdcsr)
- __P((struct am7990_softc *, u_int16_t));
+ (struct am7990_softc *, u_int16_t);
void (*sc_wrcsr)
- __P((struct am7990_softc *, u_int16_t, u_int16_t));
- void (*sc_hwreset) __P((struct am7990_softc *));
- void (*sc_hwinit) __P((struct am7990_softc *));
- void (*sc_nocarrier) __P((struct am7990_softc *));
- int (*sc_mediachange) __P((struct am7990_softc *));
- void (*sc_mediastatus) __P((struct am7990_softc *,
- struct ifmediareq *));
+ (struct am7990_softc *, u_int16_t, u_int16_t);
+ void (*sc_hwreset)(struct am7990_softc *);
+ void (*sc_hwinit)(struct am7990_softc *);
+ void (*sc_nocarrier)(struct am7990_softc *);
+ int (*sc_mediachange)(struct am7990_softc *);
+ void (*sc_mediastatus)(struct am7990_softc *,
+ struct ifmediareq *);
/*
* Media-supported by this interface. If this is NULL,
@@ -176,16 +176,16 @@ struct am7990_softc {
#endif
};
-void am7990_config __P((struct am7990_softc *));
-void am7990_init __P((struct am7990_softc *));
-int am7990_ioctl __P((struct ifnet *, u_long, caddr_t));
-void am7990_meminit __P((struct am7990_softc *));
-void am7990_reset __P((struct am7990_softc *));
-void am7990_setladrf __P((struct arpcom *, u_int16_t *));
-void am7990_start __P((struct ifnet *));
-void am7990_stop __P((struct am7990_softc *));
-void am7990_watchdog __P((struct ifnet *));
-void am7990_intr __P((void *));
+void am7990_config(struct am7990_softc *);
+void am7990_init(struct am7990_softc *);
+int am7990_ioctl(struct ifnet *, u_long, caddr_t);
+void am7990_meminit(struct am7990_softc *);
+void am7990_reset(struct am7990_softc *);
+void am7990_setladrf(struct arpcom *, u_int16_t *);
+void am7990_start(struct ifnet *);
+void am7990_stop(struct am7990_softc *);
+void am7990_watchdog(struct ifnet *);
+void am7990_intr(void *);
/*
* The following functions are only useful on certain cpu/bus
@@ -193,16 +193,16 @@ void am7990_intr __P((void *));
* maximum efficiency, but machine-independent versions are provided
* for drivers that have not yet been optimized.
*/
-void am7990_copytobuf_contig __P((struct am7990_softc *, void *, int, int));
-void am7990_copyfrombuf_contig __P((struct am7990_softc *, void *, int, int));
-void am7990_zerobuf_contig __P((struct am7990_softc *, int, int));
+void am7990_copytobuf_contig(struct am7990_softc *, void *, int, int);
+void am7990_copyfrombuf_contig(struct am7990_softc *, void *, int, int);
+void am7990_zerobuf_contig(struct am7990_softc *, int, int);
#if 0 /* Example only - see am7990.c */
-void am7990_copytobuf_gap2 __P((struct am7990_softc *, void *, int, int));
-void am7990_copyfrombuf_gap2 __P((struct am7990_softc *, void *, int, int));
-void am7990_zerobuf_gap2 __P((struct am7990_softc *, int, int));
+void am7990_copytobuf_gap2(struct am7990_softc *, void *, int, int);
+void am7990_copyfrombuf_gap2(struct am7990_softc *, void *, int, int);
+void am7990_zerobuf_gap2(struct am7990_softc *, int, int);
-void am7990_copytobuf_gap16 __P((struct am7990_softc *, void *, int, int));
-void am7990_copyfrombuf_gap16 __P((struct am7990_softc *, void *, int, int));
-void am7990_zerobuf_gap16 __P((struct am7990_softc *, int, int));
+void am7990_copytobuf_gap16(struct am7990_softc *, void *, int, int);
+void am7990_copyfrombuf_gap16(struct am7990_softc *, void *, int, int);
+void am7990_zerobuf_gap16(struct am7990_softc *, int, int);
#endif /* Example only */
OpenPOWER on IntegriCloud