summaryrefslogtreecommitdiffstats
path: root/sys/amd64/isa/isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/isa/isa.c')
-rw-r--r--sys/amd64/isa/isa.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c
index 90dd24d..e2b0028 100644
--- a/sys/amd64/isa/isa.c
+++ b/sys/amd64/isa/isa.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: isa.c,v 1.30 1994/10/19 01:59:06 wollman Exp $
+ * $Id: isa.c,v 1.31 1994/10/19 21:57:51 bde Exp $
*/
/*
@@ -106,6 +106,16 @@ inthand2_t *intr_handler[ICU_LEN];
u_int intr_mask[ICU_LEN];
int intr_unit[ICU_LEN];
+struct kern_devconf kdc_isa0 = {
+ 0, 0, 0, /* filled in by dev_attach */
+ "isa", 0, { MDDT_BUS, 0 },
+ 0, 0, 0, BUS_EXTERNALLEN,
+ 0, /* no parent yet; parent should be CPU */
+ 0, /* no parentdata */
+ DC_BUSY, /* busses are always busy */
+ "ISA or EISA bus"
+};
+
static inthand_t *fastintr[ICU_LEN] = {
&IDTVEC(fastintr0), &IDTVEC(fastintr1),
&IDTVEC(fastintr2), &IDTVEC(fastintr3),
@@ -270,6 +280,8 @@ void
isa_configure() {
struct isa_device *dvp;
+ dev_attach(&kdc_isa0);
+
splhigh();
enable_intr();
INTREN(IRQ_SLAVE);
OpenPOWER on IntegriCloud