diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ncr53c9x.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/siop_common.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/tcic2var.h | 4 | ||||
-rw-r--r-- | sys/dev/isa/isavar.h | 3 | ||||
-rw-r--r-- | sys/dev/isa/wdc_isa.c | 3 |
5 files changed, 11 insertions, 6 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index 54d78b9dd67..fbb978ddf08 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.21 2003/10/21 18:58:49 jmc Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.22 2004/01/15 17:51:42 miod Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -1290,6 +1290,8 @@ int ncr53c9x_reselect(sc, message, tagtype, tagid) struct ncr53c9x_softc *sc; int message; + int tagtype; + int tagid; { u_char selid, target, lun; struct ncr53c9x_ecb *ecb = NULL; diff --git a/sys/dev/ic/siop_common.c b/sys/dev/ic/siop_common.c index d20d81e4f61..df53eaab69a 100644 --- a/sys/dev/ic/siop_common.c +++ b/sys/dev/ic/siop_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siop_common.c,v 1.18 2003/10/27 03:07:39 mickey Exp $ */ +/* $OpenBSD: siop_common.c,v 1.19 2004/01/15 17:51:42 miod Exp $ */ /* $NetBSD: siop_common.c,v 1.31 2002/09/27 15:37:18 provos Exp $ */ /* @@ -674,6 +674,7 @@ void siop_wdtr_msg(siop_cmd, offset, wide) struct siop_common_cmd *siop_cmd; int offset; + int wide; { siop_cmd->siop_tables->msg_out[offset + 0] = MSG_EXTENDED; siop_cmd->siop_tables->msg_out[offset + 1] = MSG_EXT_WDTR_LEN; diff --git a/sys/dev/ic/tcic2var.h b/sys/dev/ic/tcic2var.h index 0c8c9159c48..fa5e77af6c8 100644 --- a/sys/dev/ic/tcic2var.h +++ b/sys/dev/ic/tcic2var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcic2var.h,v 1.2 2002/03/14 01:26:55 millert Exp $ */ +/* $OpenBSD: tcic2var.h,v 1.3 2004/01/15 17:51:42 miod Exp $ */ /* $NetBSD: tcic2var.h,v 1.1 1999/03/23 20:04:14 bad Exp $ */ /* @@ -307,7 +307,7 @@ static __inline__ int tcic_read_aux_1(iot, ioh, auxreg, reg) bus_space_tag_t iot; bus_space_handle_t ioh; - int auxreg; + int auxreg, reg; { int mode, val; mode = bus_space_read_1(iot, ioh, TCIC_R_MODE); diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h index 3236c80d2ce..2289499bdb2 100644 --- a/sys/dev/isa/isavar.h +++ b/sys/dev/isa/isavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isavar.h,v 1.46 2003/12/12 22:56:46 hshoexer Exp $ */ +/* $OpenBSD: isavar.h,v 1.47 2004/01/15 17:51:42 miod Exp $ */ /* $NetBSD: isavar.h,v 1.26 1997/06/06 23:43:57 thorpej Exp $ */ /*- @@ -442,6 +442,7 @@ isapnp_write_reg(sc, r, v) static __inline u_char isapnp_read_reg(sc, r) struct isapnp_softc *sc; + int r; { ISAPNP_WRITE_ADDR(sc, r); return ISAPNP_READ_DATA(sc); diff --git a/sys/dev/isa/wdc_isa.c b/sys/dev/isa/wdc_isa.c index 6c0a62e9fc3..74bb8a8c4e3 100644 --- a/sys/dev/isa/wdc_isa.c +++ b/sys/dev/isa/wdc_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc_isa.c,v 1.10 2003/10/17 08:14:09 grange Exp $ */ +/* $OpenBSD: wdc_isa.c,v 1.11 2004/01/15 17:51:42 miod Exp $ */ /* $NetBSD: wdc_isa.c,v 1.15 1999/05/19 14:41:25 bouyer Exp $ */ /*- @@ -225,6 +225,7 @@ wdc_isa_dma_setup(sc) static int wdc_isa_dma_init(v, channel, drive, databuf, datalen, read) void *v; + int channel, drive; void *databuf; size_t datalen; int read; |