summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/grf_rt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-21 22:33:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-21 22:33:19 +0000
commit67d88b0a9910a68bb666b448d2dac29cb4d3d8c2 (patch)
tree967b89f6e07398a22bd8c76d30179b648776542d /sys/arch/amiga/dev/grf_rt.c
parentba95d3c1d69cdb251d15a12ebf70f50b0ea2019b (diff)
partial sync with netbsd 960418, more to come
Diffstat (limited to 'sys/arch/amiga/dev/grf_rt.c')
-rw-r--r--sys/arch/amiga/dev/grf_rt.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/sys/arch/amiga/dev/grf_rt.c b/sys/arch/amiga/dev/grf_rt.c
index 4103c6238d8..3fc46f63b83 100644
--- a/sys/arch/amiga/dev/grf_rt.c
+++ b/sys/arch/amiga/dev/grf_rt.c
@@ -1,4 +1,5 @@
-/* $NetBSD: grf_rt.c,v 1.23 1996/01/28 19:19:12 chopps Exp $ */
+/* $OpenBSD: grf_rt.c,v 1.3 1996/04/21 22:15:15 deraadt Exp $ */
+/* $NetBSD: grf_rt.c,v 1.24 1996/03/17 01:17:18 thorpej Exp $ */
/*
* Copyright (c) 1993 Markus Wild
@@ -763,11 +764,15 @@ int rt_mode __P((struct grf_softc *, int, void *, int , int));
void grfrtattach __P((struct device *, struct device *, void *));
int grfrtprint __P((void *, char *));
-int grfrtmatch __P((struct device *, struct cfdata *, void *));
+int grfrtmatch __P((struct device *, void *, void *));
+
+struct cfattach grfrt_ca = {
+ sizeof(struct grf_softc), grfrtmatch, grfrtattach
+};
-struct cfdriver grfrtcd = {
- NULL, "grfrt", (cfmatch_t)grfrtmatch, grfrtattach,
- DV_DULL, sizeof(struct grf_softc), NULL, 0 };
+struct cfdriver grfrt_cd = {
+ NULL, "grfrt", DV_DULL, NULL, 0
+};
/*
* only used in console init
@@ -779,11 +784,11 @@ static struct cfdata *cfdata;
* tricky regarding the console.
*/
int
-grfrtmatch(pdp, cfp, auxp)
+grfrtmatch(pdp, match, auxp)
struct device *pdp;
- struct cfdata *cfp;
- void *auxp;
+ void *match, *auxp;
{
+ struct cfdata *cfp = match;
#ifdef RETINACONSOLE
static int rtconunit = -1;
#endif