diff options
Diffstat (limited to 'sys/dev/sbus/asio.c')
-rw-r--r-- | sys/dev/sbus/asio.c | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/sys/dev/sbus/asio.c b/sys/dev/sbus/asio.c index 81270caa071..7d62ddb55a1 100644 --- a/sys/dev/sbus/asio.c +++ b/sys/dev/sbus/asio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asio.c,v 1.9 2003/06/27 00:27:18 jason Exp $ */ +/* $OpenBSD: asio.c,v 1.10 2003/06/27 01:50:52 jason Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -94,10 +94,7 @@ struct cfdriver asio_cd = { }; int -asio_match(parent, match, aux) - struct device *parent; - void *match; - void *aux; +asio_match(struct device *parent, void *match, void *aux) { struct sbus_attach_args *sa = aux; @@ -107,9 +104,7 @@ asio_match(parent, match, aux) } void -asio_attach(parent, self, aux) - struct device *parent, *self; - void *aux; +asio_attach(struct device *parent, struct device *self, void *aux) { struct asio_softc *sc = (void *)self; struct sbus_attach_args *sa = aux; @@ -169,9 +164,7 @@ asio_attach(parent, self, aux) } int -asio_print(aux, name) - void *aux; - const char *name; +asio_print(void *aux, const char *name) { struct asio_attach_args *aaa = aux; @@ -190,9 +183,7 @@ struct cfattach com_asio_ca = { }; void -asio_intr_enable(dv, en) - struct device *dv; - u_int8_t en; +asio_intr_enable(struct device *dv, u_int8_t en) { struct asio_softc *sc = (struct asio_softc *)dv; u_int8_t csr; @@ -204,18 +195,13 @@ asio_intr_enable(dv, en) } int -com_asio_match(parent, match, aux) - struct device *parent; - void *match; - void *aux; +com_asio_match(struct device *parent, void *match, void *aux) { return (1); } void -com_asio_attach(parent, self, aux) - struct device *parent, *self; - void *aux; +com_asio_attach(struct device *parent, struct device *self, void *aux) { struct com_softc *sc = (struct com_softc *)self; struct asio_attach_args *aaa = aux; |