summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/rbox.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-16 16:14:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-16 16:14:11 +0000
commit1c35d368e8eafbab2f43155306875a5fc879d035 (patch)
tree720c3a6fbc9a8ac5518cd309898c9a3c2b16e429 /sys/arch/hp300/dev/rbox.c
parentcb414a18f7738fc2d2a41903019f370ee2e3e66a (diff)
Simplify diofb_fbinquire(), since in the only case where we need to know
the video registers size, this value can easily be computed from the standard fb registers.
Diffstat (limited to 'sys/arch/hp300/dev/rbox.c')
-rw-r--r--sys/arch/hp300/dev/rbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/rbox.c b/sys/arch/hp300/dev/rbox.c
index 8646d8f179f..20f2d0bd50d 100644
--- a/sys/arch/hp300/dev/rbox.c
+++ b/sys/arch/hp300/dev/rbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbox.c,v 1.2 2005/01/15 21:08:37 miod Exp $ */
+/* $OpenBSD: rbox.c,v 1.3 2005/01/16 16:14:10 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -228,7 +228,7 @@ rbox_reset(struct diofb *fb, int scode, struct diofbreg *fbr)
int rc;
int i;
- if ((rc = diofb_fbinquire(fb, scode, fbr, 0x20000)) != 0)
+ if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0)
return (rc);
fb->planes = 8;