summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/dca.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-08 22:13:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-08 22:13:55 +0000
commit687611b4c09c72da0db4003e669403add017bbda (patch)
treeeafd60657e1185082e440b3b3522cf06707e82e9 /sys/arch/hp300/dev/dca.c
parent5b92cae14980930e1a1d9ef789383ae87f970061 (diff)
Only use one set of DIO size and address defines, from <dev/dioreg.h>
rather than <include/cpu.h>.
Diffstat (limited to 'sys/arch/hp300/dev/dca.c')
-rw-r--r--sys/arch/hp300/dev/dca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/dca.c b/sys/arch/hp300/dev/dca.c
index b0dbe036149..903c5536ec9 100644
--- a/sys/arch/hp300/dev/dca.c
+++ b/sys/arch/hp300/dev/dca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dca.c,v 1.20 2004/09/29 07:35:52 miod Exp $ */
+/* $OpenBSD: dca.c,v 1.21 2005/01/08 22:13:53 miod Exp $ */
/* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */
/*
@@ -1020,7 +1020,7 @@ dca_console_scan(scode, va, arg)
dioiidev = (u_char *)va;
return ((dioiidev[0x101] + 1) * 0x100000);
}
- return (DIOCSIZE);
+ return (DIO_DEVSIZE);
}
return (0);
}