diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-24 19:58:34 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-24 19:58:34 +0000 |
commit | 0ef244d8476654749f2eaf9441dc06b2fd4d4f7b (patch) | |
tree | 270851bce850e6dddd96484e78fa648cb8bec296 /sys/arch/alpha/tc/ioasic.c | |
parent | a77b8c21d70779c5365903c1f86d3c3126549212 (diff) |
Sync with NetBSD 961207
Diffstat (limited to 'sys/arch/alpha/tc/ioasic.c')
-rw-r--r-- | sys/arch/alpha/tc/ioasic.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/ioasic.c b/sys/arch/alpha/tc/ioasic.c index d7a6aae03f2..96e49ffb553 100644 --- a/sys/arch/alpha/tc/ioasic.c +++ b/sys/arch/alpha/tc/ioasic.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ioasic.c,v 1.5 1996/11/23 21:45:00 kstailey Exp $ */ -/* $NetBSD: ioasic.c,v 1.9 1996/10/13 03:00:32 christos Exp $ */ +/* $OpenBSD: ioasic.c,v 1.6 1997/01/24 19:58:13 niklas Exp $ */ +/* $NetBSD: ioasic.c,v 1.10 1996/12/05 01:39:41 cgd Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -52,7 +52,11 @@ struct ioasic_softc { }; /* Definition of the driver for autoconfig. */ +#ifdef __BROKEN_INDIRECT_CONFIG int ioasicmatch __P((struct device *, void *, void *)); +#else +int ioasicmatch __P((struct device *, struct cfdata *, void *)); +#endif void ioasicattach __P((struct device *, struct device *, void *)); int ioasicprint(void *, const char *); @@ -108,7 +112,11 @@ extern int cputype; int ioasicmatch(parent, cfdata, aux) struct device *parent; +#ifdef __BROKEN_INDIRECT_CONFIG void *cfdata; +#else + struct cfdata *cfdata; +#endif void *aux; { struct tc_attach_args *ta = aux; |