diff options
| author | mycroft <mycroft@NetBSD.org> | 1994-11-03 23:26:03 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1994-11-03 23:26:03 +0000 |
| commit | ebbdd6473bc6979ff1902ff4b89f6285df3f1d6d (patch) | |
| tree | 9848bc3f108643e28e15d61f19c584df95f01f55 /sys/dev | |
| parent | 19fc9d55c82f515e6137872215a1c40b94f3d270 (diff) | |
Update to match autoconfig code.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/com.c | 14 | ||||
| -rw-r--r-- | sys/dev/isa/com.c | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 53d70054df1..dcfce9cd7ad 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.39 1994/10/30 21:43:28 cgd Exp $ */ +/* $NetBSD: com.c,v 1.40 1994/11/03 23:26:03 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994 Charles Hannum. @@ -84,8 +84,8 @@ struct com_softc { /* XXXX should be in com_softc, but not ready for that yet */ struct tty *com_tty[NCOM]; -int comprobe(); -void comattach(); +int comprobe __P((struct device *, void *, void *)); +void comattach __P((struct device *, struct device *, void *)); int comopen __P((dev_t, int, int, struct proc *)); int comclose __P((dev_t, int, int, struct proc *)); void comdiag __P((void *)); @@ -160,11 +160,11 @@ comprobe1(iobase) } int -comprobe(parent, self, aux) - struct device *parent, *self; - void *aux; +comprobe(parent, match, aux) + struct device *parent; + void *match, *aux; { - struct com_softc *sc = (void *)self; + struct com_softc *sc = match; struct isa_attach_args *ia = aux; u_short iobase = ia->ia_iobase; diff --git a/sys/dev/isa/com.c b/sys/dev/isa/com.c index 53d70054df1..dcfce9cd7ad 100644 --- a/sys/dev/isa/com.c +++ b/sys/dev/isa/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.39 1994/10/30 21:43:28 cgd Exp $ */ +/* $NetBSD: com.c,v 1.40 1994/11/03 23:26:03 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994 Charles Hannum. @@ -84,8 +84,8 @@ struct com_softc { /* XXXX should be in com_softc, but not ready for that yet */ struct tty *com_tty[NCOM]; -int comprobe(); -void comattach(); +int comprobe __P((struct device *, void *, void *)); +void comattach __P((struct device *, struct device *, void *)); int comopen __P((dev_t, int, int, struct proc *)); int comclose __P((dev_t, int, int, struct proc *)); void comdiag __P((void *)); @@ -160,11 +160,11 @@ comprobe1(iobase) } int -comprobe(parent, self, aux) - struct device *parent, *self; - void *aux; +comprobe(parent, match, aux) + struct device *parent; + void *match, *aux; { - struct com_softc *sc = (void *)self; + struct com_softc *sc = match; struct isa_attach_args *ia = aux; u_short iobase = ia->ia_iobase; |
