summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/dev/cn30xxgmx.c
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@cvs.openbsd.org>2013-10-22 14:06:09 +0000
committerBrian Callahan <bcallah@cvs.openbsd.org>2013-10-22 14:06:09 +0000
commita5634fc0422e19e60cf6373a97ce1509ebcb1862 (patch)
tree13ae9591e23edad65d69bf8db0a924154c4aa485 /sys/arch/octeon/dev/cn30xxgmx.c
parentd34885ce06f1fd7361f50fa070c8b7a799b3036c (diff)
Replace some backwards compat functions with the current ones; the old
ones were removed some time ago. Noticed by William Orr <will AT worrbase DOT com> ok jasper@
Diffstat (limited to 'sys/arch/octeon/dev/cn30xxgmx.c')
-rw-r--r--sys/arch/octeon/dev/cn30xxgmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/cn30xxgmx.c b/sys/arch/octeon/dev/cn30xxgmx.c
index 4ddcdb15215..c9f9a1096a3 100644
--- a/sys/arch/octeon/dev/cn30xxgmx.c
+++ b/sys/arch/octeon/dev/cn30xxgmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxgmx.c,v 1.7 2013/09/19 00:15:59 jmatthew Exp $ */
+/* $OpenBSD: cn30xxgmx.c,v 1.8 2013/10/22 14:06:08 bcallah Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -1431,7 +1431,7 @@ cn30xxgmx_intr_rml_gmx1(void)
int
cn30xxgmx_intr_drop(void *arg)
{
- octeon_write_csr(CIU_INT0_SUM0, CIU_INTX_SUM0_GMX_DRP);
+ octeon_xkphys_write_8(CIU_INT0_SUM0, CIU_INTX_SUM0_GMX_DRP);
cn30xxgmx_intr_drop_evcnt.ev_count++;
return (1);
}