-/* $OpenBSD: ahc_eisa.c,v 1.23 2020/07/05 21:54:44 krw Exp $ */
+/* $OpenBSD: ahc_eisa.c,v 1.24 2021/03/07 06:18:48 jsg Exp $ */
/* $NetBSD: ahc_eisa.c,v 1.10 1996/10/21 22:30:58 thorpej Exp $ */
/*
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_eisa.c,v 1.23 2020/07/05 21:54:44 krw Exp $
+ * $Id: ahc_eisa.c,v 1.24 2021/03/07 06:18:48 jsg Exp $
*/
#include <sys/param.h>
* Return irq setting of the board, otherwise -1.
*/
int
-ahc_eisa_irq(iot, ioh)
-bus_space_tag_t iot;
-bus_space_handle_t ioh;
+ahc_eisa_irq(bus_space_tag_t iot, bus_space_handle_t ioh)
{
int irq;
u_char intdef;
* the actual probe routine to check it out.
*/
int
-ahc_eisa_match(parent, match, aux)
-struct device *parent;
-void *match, *aux;
+ahc_eisa_match(struct device *parent, void *match, void *aux)
{
struct eisa_attach_args *ea = aux;
bus_space_tag_t iot = ea->ea_iot;
}
void
-ahc_eisa_attach(parent, self, aux)
-struct device *parent, *self;
-void *aux;
+ahc_eisa_attach(struct device *parent, struct device *self, void *aux)
{
struct ahc_softc *ahc = (void *)self;
struct eisa_attach_args *ea = aux;
-/* $OpenBSD: cac_eisa.c,v 1.5 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: cac_eisa.c,v 1.6 2021/03/07 06:18:48 jsg Exp $ */
/* $NetBSD: cac_eisa.c,v 1.1 2000/09/01 12:15:20 ad Exp $ */
/*-
};
int
-cac_eisa_match(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+cac_eisa_match(struct device *parent, void *match, void *aux)
{
struct eisa_attach_args *ea;
int i;
}
void
-cac_eisa_attach(parent, self, aux)
- struct device *parent;
- struct device *self;
- void *aux;
+cac_eisa_attach(struct device *parent, struct device *self, void *aux)
{
struct eisa_attach_args *ea;
bus_space_handle_t ioh;
-/* $OpenBSD: eisa.c,v 1.13 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: eisa.c,v 1.14 2021/03/07 06:18:48 jsg Exp $ */
/* $NetBSD: eisa.c,v 1.15 1996/10/21 22:31:01 thorpej Exp $ */
/*
void eisa_devinfo(const char *, char *, size_t);
int
-eisamatch(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+eisamatch(struct device *parent, void *match, void *aux)
{
struct cfdata *cf = match;
struct eisabus_attach_args *eba = aux;
}
int
-eisaprint(aux, pnp)
- void *aux;
- const char *pnp;
+eisaprint(void *aux, const char *pnp)
{
register struct eisa_attach_args *ea = aux;
char devinfo[256];
}
int
-eisasubmatch(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+eisasubmatch(struct device *parent, void *match, void *aux)
{
struct cfdata *cf = match;
struct eisa_attach_args *ea = aux;
}
void
-eisaattach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+eisaattach(struct device *parent, struct device *self, void *aux)
{
struct eisabus_attach_args *eba = aux;
bus_space_tag_t iot, memt;
-/* $OpenBSD: if_ep_eisa.c,v 1.26 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_ep_eisa.c,v 1.27 2021/03/07 06:18:48 jsg Exp $ */
/* $NetBSD: if_ep_eisa.c,v 1.13 1997/04/18 00:50:33 cgd Exp $ */
/*
#define EISA_ENABLE 0x01
int
-ep_eisa_match(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+ep_eisa_match(struct device *parent, void *match, void *aux)
{
struct eisa_attach_args *ea = aux;
}
void
-ep_eisa_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+ep_eisa_attach(struct device *parent, struct device *self, void *aux)
{
struct ep_softc *sc = (void *)self;
struct eisa_attach_args *ea = aux;
-/* $OpenBSD: uha_eisa.c,v 1.14 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: uha_eisa.c,v 1.15 2021/03/07 06:18:48 jsg Exp $ */
/* $NetBSD: uha_eisa.c,v 1.5 1996/10/21 22:31:07 thorpej Exp $ */
/*
* the actual probe routine to check it out.
*/
int
-uha_eisa_match(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+uha_eisa_match(struct device *parent, void *match, void *aux)
{
struct eisa_attach_args *ea = aux;
bus_space_tag_t iot = ea->ea_iot;
* Attach all the sub-devices we can find
*/
void
-uha_eisa_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+uha_eisa_attach(struct device *parent, struct device *self, void *aux)
{
struct eisa_attach_args *ea = aux;
struct uha_softc *sc = (void *)self;
}
int
-u24_find(iot, ioh, sc)
- bus_space_tag_t iot;
- bus_space_handle_t ioh;
- struct uha_softc *sc;
+u24_find(bus_space_tag_t iot, bus_space_handle_t ioh, struct uha_softc *sc)
{
u_int8_t config0, config1, config2;
int irq, drq;
}
void
-u24_start_mbox(sc, mscp)
- struct uha_softc *sc;
- struct uha_mscp *mscp;
+u24_start_mbox(struct uha_softc *sc, struct uha_mscp *mscp)
{
bus_space_tag_t iot = sc->sc_iot;
bus_space_handle_t ioh = sc->sc_ioh;
}
int
-u24_poll(sc, xs, count)
- struct uha_softc *sc;
- struct scsi_xfer *xs;
- int count;
+u24_poll(struct uha_softc *sc, struct scsi_xfer *xs, int count)
{
bus_space_tag_t iot = sc->sc_iot;
bus_space_handle_t ioh = sc->sc_ioh;
}
int
-u24_intr(arg)
- void *arg;
+u24_intr(void *arg)
{
struct uha_softc *sc = arg;
bus_space_tag_t iot = sc->sc_iot;
}
void
-u24_init(sc)
- struct uha_softc *sc;
+u24_init(struct uha_softc *sc)
{
bus_space_tag_t iot = sc->sc_iot;
bus_space_handle_t ioh = sc->sc_ioh;