summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/dev/com_oct.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/octeon/dev/com_oct.c')
-rw-r--r--sys/arch/octeon/dev/com_oct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/dev/com_oct.c b/sys/arch/octeon/dev/com_oct.c
index 49615e64301..36700d1f348 100644
--- a/sys/arch/octeon/dev/com_oct.c
+++ b/sys/arch/octeon/dev/com_oct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_oct.c,v 1.2 2010/10/01 16:13:59 syuu Exp $ */
+/* $OpenBSD: com_oct.c,v 1.3 2011/05/08 13:24:55 syuu Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -34,12 +34,12 @@
#include <machine/autoconf.h>
#include <machine/bus.h>
+#include <machine/intr.h>
#include <dev/ic/comreg.h>
#include <dev/ic/comvar.h>
#include <dev/cons.h>
-#include <octeon/dev/obiovar.h>
#include <octeon/dev/combusvar.h>
#include <octeon/dev/octeonreg.h>
@@ -134,7 +134,7 @@ com_oct_attach(struct device *parent, struct device *self, void *aux)
com_attach_subr(sc);
- obio_intr_establish(cba->cba_intr, IPL_TTY, comintr,
+ octeon_intr_establish(cba->cba_intr, IPL_TTY, comintr,
(void *)sc, sc->sc_dev.dv_xname);
}