summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-07 16:37:13 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-07 16:37:13 +0000
commitb20baf07b5437141cf3c21855d6b7d7d47cad50b (patch)
treeddcd925def9bfa552e481f770154454951786095 /sys/dev/ic
parenta65ba91e5518488cdbaed79b3fc3fc778a450d51 (diff)
Removed an unused arg
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/com.c9
-rw-r--r--sys/dev/ic/comvar.h4
2 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index e284e083631..e8622f90c1b 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.34 1997/04/10 17:16:37 pefo Exp $ */
+/* $OpenBSD: com.c,v 1.35 1997/07/07 16:37:12 niklas Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*-
@@ -178,10 +178,9 @@ comspeed(speed)
}
int
-comprobe1(iot, ioh, iobase)
+comprobe1(iot, ioh)
bus_space_tag_t iot;
bus_space_handle_t ioh;
- int iobase;
{
int i, k;
@@ -318,7 +317,7 @@ comprobe(parent, match, aux)
rv = 0;
goto out;
}
- rv = comprobe1(iot, ioh, iobase);
+ rv = comprobe1(iot, ioh);
if (needioh)
bus_space_unmap(iot, ioh, COM_NPORTS);
@@ -1461,7 +1460,7 @@ comcnprobe(cp)
cp->cn_pri = CN_DEAD;
return;
}
- found = comprobe1(iot, ioh, CONADDR);
+ found = comprobe1(iot, ioh);
bus_space_unmap(iot, ioh, COM_NPORTS);
if (!found) {
cp->cn_pri = CN_DEAD;
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h
index c0da882608b..153a70a8b53 100644
--- a/sys/dev/ic/comvar.h
+++ b/sys/dev/ic/comvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: comvar.h,v 1.8 1997/03/06 07:06:45 tholo Exp $ */
+/* $OpenBSD: comvar.h,v 1.9 1997/07/07 16:37:12 niklas Exp $ */
/* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */
/*
@@ -89,7 +89,7 @@ struct com_softc {
u_char sc_ibufs[2][COM_IBUFSIZE];
};
-int comprobe1 __P((bus_space_tag_t, bus_space_handle_t, int));
+int comprobe1 __P((bus_space_tag_t, bus_space_handle_t));
void cominit __P((bus_space_tag_t, bus_space_handle_t, int));
int comintr __P((void *));
void com_absent_notify __P((struct com_softc *sc));