summaryrefslogtreecommitdiffstats
path: root/sys/dev/en/midway.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/en/midway.c')
-rw-r--r--sys/dev/en/midway.c56
1 files changed, 27 insertions, 29 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index 0f24ed0..adb1004 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -265,36 +265,34 @@ static struct en_dmatab *en_dmaplan = en_dma_planB;
* prototypes
*/
-STATIC INLINE int en_b2sz __P((int)) __attribute__ ((unused));
+STATIC INLINE int en_b2sz(int) __attribute__ ((unused));
#ifdef EN_DDBHOOK
- int en_dump __P((int,int));
- int en_dumpmem __P((int,int,int));
-#endif
-STATIC void en_dmaprobe __P((struct en_softc *));
-STATIC int en_dmaprobe_doit __P((struct en_softc *, u_int8_t *,
- u_int8_t *, int));
-STATIC INLINE int en_dqneed __P((struct en_softc *, caddr_t, u_int,
- u_int)) __attribute__ ((unused));
-STATIC void en_init __P((struct en_softc *));
-STATIC int en_ioctl __P((struct ifnet *, EN_IOCTL_CMDT, caddr_t));
-STATIC INLINE int en_k2sz __P((int)) __attribute__ ((unused));
-STATIC void en_loadvc __P((struct en_softc *, int));
-STATIC int en_mfix __P((struct en_softc *, struct mbuf **,
- struct mbuf *));
-STATIC INLINE struct mbuf *en_mget __P((struct en_softc *, u_int,
- u_int *)) __attribute__ ((unused));
-STATIC INLINE u_int32_t en_read __P((struct en_softc *,
- u_int32_t)) __attribute__ ((unused));
-STATIC int en_rxctl __P((struct en_softc *, struct atm_pseudoioctl *,
- int));
-STATIC void en_txdma __P((struct en_softc *, int));
-STATIC void en_txlaunch __P((struct en_softc *, int,
- struct en_launch *));
-STATIC void en_service __P((struct en_softc *));
-STATIC void en_start __P((struct ifnet *));
-STATIC INLINE int en_sz2b __P((int)) __attribute__ ((unused));
-STATIC INLINE void en_write __P((struct en_softc *, u_int32_t,
- u_int32_t)) __attribute__ ((unused));
+ int en_dump(int,int);
+ int en_dumpmem(int,int,int);
+#endif
+STATIC void en_dmaprobe(struct en_softc *);
+STATIC int en_dmaprobe_doit(struct en_softc *, u_int8_t *,
+ u_int8_t *, int);
+STATIC INLINE int en_dqneed(struct en_softc *, caddr_t, u_int,
+ u_int) __attribute__ ((unused));
+STATIC void en_init(struct en_softc *);
+STATIC int en_ioctl(struct ifnet *, EN_IOCTL_CMDT, caddr_t);
+STATIC INLINE int en_k2sz(int) __attribute__ ((unused));
+STATIC void en_loadvc(struct en_softc *, int);
+STATIC int en_mfix(struct en_softc *, struct mbuf **, struct mbuf *);
+STATIC INLINE struct mbuf *en_mget(struct en_softc *, u_int,
+ u_int *) __attribute__ ((unused));
+STATIC INLINE u_int32_t en_read(struct en_softc *,
+ u_int32_t) __attribute__ ((unused));
+STATIC int en_rxctl(struct en_softc *, struct atm_pseudoioctl *, int);
+STATIC void en_txdma(struct en_softc *, int);
+STATIC void en_txlaunch(struct en_softc *, int,
+ struct en_launch *);
+STATIC void en_service(struct en_softc *);
+STATIC void en_start(struct ifnet *);
+STATIC INLINE int en_sz2b(int) __attribute__ ((unused));
+STATIC INLINE void en_write(struct en_softc *, u_int32_t,
+ u_int32_t) __attribute__ ((unused));
/*
* macros/inline
OpenPOWER on IntegriCloud