summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/dvbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300/dev/dvbox.c')
-rw-r--r--sys/arch/hp300/dev/dvbox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hp300/dev/dvbox.c b/sys/arch/hp300/dev/dvbox.c
index ea78867a9f1..13d453db90c 100644
--- a/sys/arch/hp300/dev/dvbox.c
+++ b/sys/arch/hp300/dev/dvbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvbox.c,v 1.8 2005/01/27 21:24:48 miod Exp $ */
+/* $OpenBSD: dvbox.c,v 1.9 2005/12/30 18:00:20 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -169,7 +169,7 @@ dvbox_intio_attach(struct device *parent, struct device *self, void *aux)
struct diofbreg *fbr;
fbr = (struct diofbreg *)IIOV(GRFIADDR);
- sc->sc_scode = -1; /* XXX internal i/o */
+ sc->sc_scode = CONSCODE_INTERNAL;
if (sc->sc_scode == conscode) {
sc->sc_fb = &diofb_cn;
@@ -491,7 +491,7 @@ dvboxcnprobe(struct consdev *cp)
cp->cn_pri = CN_INTERNAL;
#ifdef CONSCODE
- if (CONSCODE == -1) {
+ if (CONSCODE == CONSCODE_INTERNAL) {
force = conforced = 1;
}
#endif
@@ -508,7 +508,7 @@ dvboxcnprobe(struct consdev *cp)
cn_tab = cp;
if (convasize)
iounmap(conaddr, convasize);
- conscode = -1;
+ conscode = CONSCODE_INTERNAL;
conaddr = va;
convasize = 0;
}