diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-02-05 16:01:20 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-02-05 16:01:20 +0000 |
commit | 6e877d02cebd8fc3b58cc51308a45867941fac94 (patch) | |
tree | ffe498fbe20812f0af2aa0521caee8bd0155f6b4 /sys/arch/hp300/dev/grf_hy.c | |
parent | ab338cb720d20f1fa9d5d5fe14b912f71cabaa1b (diff) |
Non-console ITE devices need to be initialized properly, too, ya know.
Add enough glue to the aux attach structure to do so, and teach all the
device drivers how to set it.
This fixes the last ITE panic I know of...
Diffstat (limited to 'sys/arch/hp300/dev/grf_hy.c')
-rw-r--r-- | sys/arch/hp300/dev/grf_hy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/grf_hy.c b/sys/arch/hp300/dev/grf_hy.c index 52f7ddf6ae0..b73a68406db 100644 --- a/sys/arch/hp300/dev/grf_hy.c +++ b/sys/arch/hp300/dev/grf_hy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_hy.c,v 1.4 1997/02/03 04:47:28 downsj Exp $ */ +/* $OpenBSD: grf_hy.c,v 1.5 1997/02/05 16:01:12 downsj Exp $ */ /* $NetBSD: grf_hy.c,v 1.8 1997/01/30 09:18:47 thorpej Exp $ */ /* @@ -152,7 +152,11 @@ hyper_dio_attach(parent, self, aux) } } - grfdev_attach(sc, hy_init, grf, &hyper_grfsw); +#if NITE > 0 + grfdev_attach(sc, hy_init, grf, &hyper_grfsw, &hyper_itesw); +#else + grfdev_attach(sc, hy_init, grf, &hyper_grfsw, NULL); +#endif /* NITE > 0 */ } /* |