diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-02-03 04:48:09 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-02-03 04:48:09 +0000 |
commit | 3dc2bab62b31e6caa1a00fece6004504f8e08033 (patch) | |
tree | c3a44aeae3938880a95422164280589feafe53aa /sys/arch/hp300/dev/grf_gb.c | |
parent | 08e8d869ff1f7248522b236f25044d2744c972dd (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/grf_gb.c')
-rw-r--r-- | sys/arch/hp300/dev/grf_gb.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/sys/arch/hp300/dev/grf_gb.c b/sys/arch/hp300/dev/grf_gb.c index f7aac480613..ad53e886b58 100644 --- a/sys/arch/hp300/dev/grf_gb.c +++ b/sys/arch/hp300/dev/grf_gb.c @@ -1,5 +1,5 @@ -/* $OpenBSD: grf_gb.c,v 1.3 1997/01/12 15:12:33 downsj Exp $ */ -/* $NetBSD: grf_gb.c,v 1.9 1996/12/17 08:41:08 thorpej Exp $ */ +/* $OpenBSD: grf_gb.c,v 1.4 1997/02/03 04:47:27 downsj Exp $ */ +/* $NetBSD: grf_gb.c,v 1.10 1997/01/30 09:18:45 thorpej Exp $ */ /* * Copyright (c) 1996 Jason R. Thorpe. All rights reserved. @@ -89,11 +89,10 @@ int gb_init __P((struct grf_data *gp, int, caddr_t)); int gb_mode __P((struct grf_data *gp, int, caddr_t)); void gb_microcode __P((struct gboxfb *)); -#ifdef NEWCONFIG -int gbox_intio_match __P((struct device *, struct cfdata *, void *)); +int gbox_intio_match __P((struct device *, void *, void *)); void gbox_intio_attach __P((struct device *, struct device *, void *)); -int gbox_dio_match __P((struct device *, struct cfdata *, void *)); +int gbox_dio_match __P((struct device *, void *, void *)); void gbox_dio_attach __P((struct device *, struct device *, void *)); struct cfattach gbox_intio_ca = { @@ -107,7 +106,6 @@ struct cfattach gbox_dio_ca = { struct cfdriver gbox_cd = { NULL, "gbox", DV_DULL }; -#endif /* NEWCONFIG */ /* Gatorbox grf switch */ struct grfsw gbox_grfsw = { @@ -131,12 +129,10 @@ struct itesw gbox_itesw = { }; #endif /* NITE > 0 */ -#ifdef NEWCONFIG int gbox_intio_match(parent, match, aux) struct device *parent; - struct cfdata *match; - void *aux; + void *match, *aux; { struct intio_attach_args *ia = aux; struct grfreg *grf; @@ -171,8 +167,7 @@ gbox_intio_attach(parent, self, aux) int gbox_dio_match(parent, match, aux) struct device *parent; - struct cfdata *match; - void *aux; + void *match, *aux; { struct dio_attach_args *da = aux; @@ -206,7 +201,6 @@ gbox_dio_attach(parent, self, aux) grfdev_attach(sc, gb_init, grf, &gbox_grfsw); } -#endif /* NEWCONFIG */ /* * Initialize hardware. |