From 7b8e09399aded7c12a148b104ccf05419e73ba88 Mon Sep 17 00:00:00 2001 From: wollman Date: Sun, 23 Oct 1994 21:28:03 +0000 Subject: Finished device configuration database work for all ISA devices (except `ze') and all SCSI devices (except that it's not done quite the way I want). New information added includes: - A text description of the device - A ``state''---unknown, unconfigured, idle, or busy - A generic parent device (with support in the m.i. code) - An interrupt mask type field (which will hopefully go away) so that . ``doconfig'' can be written This requires a new version of the `lsdev' program as well (next commit). --- sys/i386/isa/ctx.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/i386/isa/ctx.c') diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c index 8930d27..9d0f621 100644 --- a/sys/i386/isa/ctx.c +++ b/sys/i386/isa/ctx.c @@ -8,7 +8,7 @@ * of this software, nor does the author assume any responsibility * for damages incurred with its use. * - * $Id: ctx.c,v 1.2 1994/10/19 01:58:55 wollman Exp $ + * $Id: ctx.c,v 1.3 1994/10/21 01:19:05 wollman Exp $ */ /* @@ -156,8 +156,12 @@ struct ctx_soft_registers { static struct kern_devconf kdc_ctx[NCTX] = { { 0, 0, 0, /* filled in by dev_attach */ - "ctx", 0, { "isa0", MDDT_ISA, 0 }, - isa_generic_externalize, 0, 0, ISA_EXTERNALLEN + "ctx", 0, { MDDT_ISA, 0 }, + isa_generic_externalize, 0, 0, ISA_EXTERNALLEN, + &kdc_isa0, /* parent */ + 0, /* parentdata */ + DC_UNKNOWN, /* not supported */ + "CORTEX-I frame grabber" } }; static inline void -- cgit v1.1