diff options
Diffstat (limited to 'sys/arch/amiga/dev/grf_cl.c')
-rw-r--r-- | sys/arch/amiga/dev/grf_cl.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/sys/arch/amiga/dev/grf_cl.c b/sys/arch/amiga/dev/grf_cl.c index c1e2910ce3d..16fec232a85 100644 --- a/sys/arch/amiga/dev/grf_cl.c +++ b/sys/arch/amiga/dev/grf_cl.c @@ -1,5 +1,5 @@ -/* $OpenBSD: grf_cl.c,v 1.2 1996/03/30 22:18:13 niklas Exp $ */ -/* $NetBSD: grf_cl.c,v 1.6 1996/03/05 18:08:33 is Exp $ */ +/* $OpenBSD: grf_cl.c,v 1.3 1996/04/21 22:15:10 deraadt Exp $ */ +/* $NetBSD: grf_cl.c,v 1.8 1996/03/17 05:58:35 mhitch Exp $ */ /* * Copyright (c) 1995 Ezra Story @@ -98,7 +98,7 @@ static int cl_blank __P((struct grf_softc * gp, int * on)); void grfclattach __P((struct device *, struct device *, void *)); int grfclprint __P((void *, char *)); -int grfclmatch __P((struct device *, struct cfdata *, void *)); +int grfclmatch __P((struct device *, void *, void *)); void cl_memset __P((unsigned char *d, unsigned char c, int l)); /* Graphics display definitions. @@ -163,18 +163,21 @@ static unsigned char cl_imageptr[8 * 64], cl_maskptr[8 * 64]; static unsigned char cl_sprred[2], cl_sprgreen[2], cl_sprblue[2]; /* standard driver stuff */ -struct cfdriver grfclcd = { - NULL, "grfcl", (cfmatch_t) grfclmatch, grfclattach, - DV_DULL, sizeof(struct grf_softc), NULL, 0 +struct cfattach grfcl_ca = { + sizeof(struct grf_softc), grfclmatch, grfclattach +}; + +struct cfdriver grfcl_cd = { + NULL, "grfcl", DV_DULL, NULL, 0 }; static struct cfdata *cfdata; int -grfclmatch(pdp, cfp, auxp) +grfclmatch(pdp, match, auxp) struct device *pdp; - struct cfdata *cfp; - void *auxp; + void *match, *auxp; { + struct cfdata *cfp = match; struct zbus_args *zap; static int regprod, fbprod; |