Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/...



details:   https://anonhg.NetBSD.org/src/rev/d84d718e3c10
branches:  trunk
changeset: 480216:d84d718e3c10
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Jan 07 02:57:17 2000 +0000

description:
Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/R2L.

diffstat:

 sys/dev/tc/sfb.c        |  6 +++---
 sys/dev/wsfont/wsfont.h |  5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r 88593bbef358 -r d84d718e3c10 sys/dev/tc/sfb.c
--- a/sys/dev/tc/sfb.c  Fri Jan 07 02:02:05 2000 +0000
+++ b/sys/dev/tc/sfb.c  Fri Jan 07 02:57:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfb.c,v 1.32 1999/12/16 15:07:00 ad Exp $ */
+/* $NetBSD: sfb.c,v 1.33 2000/01/07 02:57:17 enami Exp $ */
 
 /*
  * Copyright (c) 1998, 1999 Tohru Nishimura.  All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.32 1999/12/16 15:07:00 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.33 2000/01/07 02:57:17 enami Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -321,7 +321,7 @@
 
        /* the accelerated sfb_putchar() needs LSbit left */
        if (wsfont_lock(cookie, &dc->rinfo.ri_font,
-                       WSFONT_R2L, WSFONT_L2R) <= 0) {
+           WSDISPLAY_FONTORDER_R2L, WSDISPLAY_FONTORDER_L2R) <= 0) {
                printf("sfb: couldn't lock font\n");
                return;
        }
diff -r 88593bbef358 -r d84d718e3c10 sys/dev/wsfont/wsfont.h
--- a/sys/dev/wsfont/wsfont.h   Fri Jan 07 02:02:05 2000 +0000
+++ b/sys/dev/wsfont/wsfont.h   Fri Jan 07 02:57:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsfont.h,v 1.10 2000/01/05 18:44:26 ad Exp $   */
+/*     $NetBSD: wsfont.h,v 1.11 2000/01/07 02:57:18 enami Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -55,7 +55,8 @@
  *     if ((cookie = wsfont_find(NULL, 8, 16, 0, 0)) <= 0)
  *             panic("unable to get 8x16 font");
  *
- *     if (wsfont_lock(cookie, &font, WSFONT_L2R, WSFONT_R2L) <= 0)
+ *     if (wsfont_lock(cookie, &font, WSDISPLAY_FONTORDER_L2R,
+ *         WSDISPLAY_FONTORDER_R2L) <= 0)
  *             panic("unable to lock font");
  *
  *     ... do stuff ...



Home | Main Index | Thread Index | Old Index