summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/dev/com_ioc.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-04-12 17:56:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-04-12 17:56:59 +0000
commitaa9adddfca7778c5667f7860a75baa5bb033974b (patch)
tree7dec8c6dffa27bc6479cb6a3e68ebadaff05e334 /sys/arch/sgi/dev/com_ioc.c
parent2829c2629cd9ab9ba5ca8dd4c7a45d3e3755098e (diff)
Interrupt support for IOC3 and its subdevices (currently limited to the
SuperIO part, the Ethernet part needs a whole driver); kernel now boot single user (or bsd.rd). Joint work with jsing@
Diffstat (limited to 'sys/arch/sgi/dev/com_ioc.c')
-rw-r--r--sys/arch/sgi/dev/com_ioc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/sgi/dev/com_ioc.c b/sys/arch/sgi/dev/com_ioc.c
index 8381fe4e3ea..fdbd0743e74 100644
--- a/sys/arch/sgi/dev/com_ioc.c
+++ b/sys/arch/sgi/dev/com_ioc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_ioc.c,v 1.3 2008/09/17 01:29:39 jsing Exp $ */
+/* $OpenBSD: com_ioc.c,v 1.4 2009/04/12 17:56:58 miod Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -106,8 +106,6 @@ com_ioc_attach(struct device *parent, struct device *self, void *aux)
com_attach_subr(sc);
-#ifdef notyet
- ioc_intr_establish(NULL, iaa->iaa_intr, IST_EDGE, IPL_TTY,
- comintr, (void *)sc, sc->sc_dev.dv_xname);
-#endif
+ ioc_intr_establish(parent, iaa->iaa_dev, IPL_TTY, comintr,
+ (void *)sc, sc->sc_dev.dv_xname);
}