summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/intio.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-03 04:48:09 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-03 04:48:09 +0000
commit3dc2bab62b31e6caa1a00fece6004504f8e08033 (patch)
treec3a44aeae3938880a95422164280589feafe53aa /sys/arch/hp300/dev/intio.c
parent08e8d869ff1f7248522b236f25044d2744c972dd (diff)
Merge new config(8) support from NetBSD, by Jason Thorpe.
Also add siginfo glue, BOOT_CONFIG, and various other changes.
Diffstat (limited to 'sys/arch/hp300/dev/intio.c')
-rw-r--r--sys/arch/hp300/dev/intio.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/arch/hp300/dev/intio.c b/sys/arch/hp300/dev/intio.c
index af6a5a1bb02..80b0401e8e0 100644
--- a/sys/arch/hp300/dev/intio.c
+++ b/sys/arch/hp300/dev/intio.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: intio.c,v 1.1 1997/01/12 15:12:47 downsj Exp $ */
-/* $NetBSD: intio.c,v 1.1 1996/12/17 08:41:15 thorpej Exp $ */
+/* $OpenBSD: intio.c,v 1.2 1997/02/03 04:47:36 downsj Exp $ */
+/* $NetBSD: intio.c,v 1.2 1997/01/30 09:18:54 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -47,10 +47,10 @@
#include <hp300/dev/intiovar.h>
-int intiomatch __P((struct device *, struct cfdata *, void *));
+int intiomatch __P((struct device *, void *, void *));
void intioattach __P((struct device *, struct device *, void *));
int intioprint __P((void *, const char *));
-int intiosearch __P((struct device *, struct cfdata *, void *));
+int intiosearch __P((struct device *, void *, void *));
struct cfattach intio_ca = {
sizeof(struct device), intiomatch, intioattach
@@ -63,8 +63,7 @@ struct cfdriver intio_cd = {
int
intiomatch(parent, match, aux)
struct device *parent;
- struct cfdata *match;
- void *aux;
+ void *match, *aux;
{
static int intio_matched = 0;
@@ -101,11 +100,11 @@ intioprint(aux, pnp)
}
int
-intiosearch(parent, cf, aux)
+intiosearch(parent, match, aux)
struct device *parent;
- struct cfdata *cf;
- void *aux;
+ void *match, *aux;
{
+ struct cfdata *cf = match;
struct intio_attach_args ia;
bzero(&ia, sizeof(ia));