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/tcds.c | |
parent | a77b8c21d70779c5365903c1f86d3c3126549212 (diff) |
Sync with NetBSD 961207
Diffstat (limited to 'sys/arch/alpha/tc/tcds.c')
-rw-r--r-- | sys/arch/alpha/tc/tcds.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/tcds.c b/sys/arch/alpha/tc/tcds.c index da676fed240..1ff43839c7c 100644 --- a/sys/arch/alpha/tc/tcds.c +++ b/sys/arch/alpha/tc/tcds.c @@ -1,5 +1,5 @@ -/* $OpenBSD: tcds.c,v 1.6 1996/11/23 21:45:02 kstailey Exp $ */ -/* $NetBSD: tcds.c,v 1.15 1996/10/13 03:00:41 christos Exp $ */ +/* $OpenBSD: tcds.c,v 1.7 1997/01/24 19:58:22 niklas Exp $ */ +/* $NetBSD: tcds.c,v 1.16 1996/12/05 01:39:45 cgd Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -56,7 +56,11 @@ struct tcds_softc { }; /* Definition of the driver for autoconfig. */ +#ifdef __BROKEN_INDIRECT_CONFIG int tcdsmatch __P((struct device *, void *, void *)); +#else +int tcdsmatch __P((struct device *, struct cfdata *, void *)); +#endif void tcdsattach __P((struct device *, struct device *, void *)); int tcdsprint __P((void *, const char *)); @@ -74,7 +78,11 @@ struct cfdriver tcds_cd = { int tcdsmatch(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; |