diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/dev/ic/ncr53c9x.c | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/dev/ic/ncr53c9x.c')
-rw-r--r-- | sys/dev/ic/ncr53c9x.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index f744e24efe3..097e131648b 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.13 2002/02/19 04:40:54 jason Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.14 2002/03/14 01:26:55 millert Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -98,36 +98,36 @@ int ncr53c9x_debug = 0; /*NCR_SHOWPHASE|NCR_SHOWMISC|NCR_SHOWTRAC|NCR_SHOWCMDS;* int ncr53c9x_notag = 0; #endif -/*static*/ void ncr53c9x_readregs __P((struct ncr53c9x_softc *)); -/*static*/ void ncr53c9x_select __P((struct ncr53c9x_softc *, - struct ncr53c9x_ecb *)); -/*static*/ int ncr53c9x_reselect __P((struct ncr53c9x_softc *, int, int, int)); -/*static*/ void ncr53c9x_scsi_reset __P((struct ncr53c9x_softc *)); -/*static*/ int ncr53c9x_poll __P((struct ncr53c9x_softc *, - struct scsi_xfer *, int)); -/*static*/ void ncr53c9x_sched __P((struct ncr53c9x_softc *)); -/*static*/ void ncr53c9x_done __P((struct ncr53c9x_softc *, - struct ncr53c9x_ecb *)); -/*static*/ void ncr53c9x_msgin __P((struct ncr53c9x_softc *)); -/*static*/ void ncr53c9x_msgout __P((struct ncr53c9x_softc *)); -/*static*/ void ncr53c9x_timeout __P((void *arg)); -/*static*/ void ncr53c9x_watch __P((void *arg)); -/*static*/ void ncr53c9x_abort __P((struct ncr53c9x_softc *, - struct ncr53c9x_ecb *)); -/*static*/ void ncr53c9x_dequeue __P((struct ncr53c9x_softc *, - struct ncr53c9x_ecb *)); - -void ncr53c9x_sense __P((struct ncr53c9x_softc *, - struct ncr53c9x_ecb *)); -void ncr53c9x_free_ecb __P((struct ncr53c9x_softc *, - struct ncr53c9x_ecb *, int)); -struct ncr53c9x_ecb *ncr53c9x_get_ecb __P((struct ncr53c9x_softc *, int)); - -static inline int ncr53c9x_stp2cpb __P((struct ncr53c9x_softc *, int)); -static inline void ncr53c9x_setsync __P((struct ncr53c9x_softc *, - struct ncr53c9x_tinfo *)); -static struct ncr53c9x_linfo *ncr53c9x_lunsearch __P((struct ncr53c9x_tinfo *, - int64_t lun)); +/*static*/ void ncr53c9x_readregs(struct ncr53c9x_softc *); +/*static*/ void ncr53c9x_select(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *); +/*static*/ int ncr53c9x_reselect(struct ncr53c9x_softc *, int, int, int); +/*static*/ void ncr53c9x_scsi_reset(struct ncr53c9x_softc *); +/*static*/ int ncr53c9x_poll(struct ncr53c9x_softc *, + struct scsi_xfer *, int); +/*static*/ void ncr53c9x_sched(struct ncr53c9x_softc *); +/*static*/ void ncr53c9x_done(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *); +/*static*/ void ncr53c9x_msgin(struct ncr53c9x_softc *); +/*static*/ void ncr53c9x_msgout(struct ncr53c9x_softc *); +/*static*/ void ncr53c9x_timeout(void *arg); +/*static*/ void ncr53c9x_watch(void *arg); +/*static*/ void ncr53c9x_abort(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *); +/*static*/ void ncr53c9x_dequeue(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *); + +void ncr53c9x_sense(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *); +void ncr53c9x_free_ecb(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *, int); +struct ncr53c9x_ecb *ncr53c9x_get_ecb(struct ncr53c9x_softc *, int); + +static inline int ncr53c9x_stp2cpb(struct ncr53c9x_softc *, int); +static inline void ncr53c9x_setsync(struct ncr53c9x_softc *, + struct ncr53c9x_tinfo *); +static struct ncr53c9x_linfo *ncr53c9x_lunsearch(struct ncr53c9x_tinfo *, + int64_t lun); static void ncr53c9x_wrfifo(struct ncr53c9x_softc *, u_char *, int); static int ncr53c9x_rdfifo(struct ncr53c9x_softc *, int); |