Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys not set HPCFB_SWAP_BYTE
details: https://anonhg.NetBSD.org/src/rev/f5aac799e4c0
branches: trunk
changeset: 511029:f5aac799e4c0
user: sato <sato%NetBSD.org@localhost>
date: Mon Jun 11 09:36:44 2001 +0000
description:
not set HPCFB_SWAP_BYTE
diffstat:
sys/arch/hpcmips/dev/ite8181.c | 4 ++--
sys/dev/hpc/bivideo.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 6ae34c2027e0 -r f5aac799e4c0 sys/arch/hpcmips/dev/ite8181.c
--- a/sys/arch/hpcmips/dev/ite8181.c Mon Jun 11 09:21:15 2001 +0000
+++ b/sys/arch/hpcmips/dev/ite8181.c Mon Jun 11 09:36:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite8181.c,v 1.11 2001/03/26 09:40:45 sato Exp $ */
+/* $NetBSD: ite8181.c,v 1.12 2001/06/11 09:36:44 sato Exp $ */
/*-
* Copyright (c) 2000,2001 SATO Kazumi
@@ -607,7 +607,7 @@
case BIFB_D16_0000:
fb->hf_class = HPCFB_CLASS_RGBCOLOR;
fb->hf_access_flags |= HPCFB_ACCESS_STATIC;
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if BYTE_ORDER == BIG_ENDIAN /* XXXX */
fb->hf_swap_flags = HPCFB_SWAP_BYTE;
#endif
fb->hf_pack_width = 16;
diff -r 6ae34c2027e0 -r f5aac799e4c0 sys/dev/hpc/bivideo.c
--- a/sys/dev/hpc/bivideo.c Mon Jun 11 09:21:15 2001 +0000
+++ b/sys/dev/hpc/bivideo.c Mon Jun 11 09:36:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bivideo.c,v 1.7 2001/05/08 14:46:06 uch Exp $ */
+/* $NetBSD: bivideo.c,v 1.8 2001/06/11 09:37:40 sato Exp $ */
/*-
* Copyright (c) 1999-2001
@@ -37,7 +37,7 @@
static const char _copyright[] __attribute__ ((unused)) =
"Copyright (c) 1999 Shin Takemura. All rights reserved.";
static const char _rcsid[] __attribute__ ((unused)) =
- "$NetBSD: bivideo.c,v 1.7 2001/05/08 14:46:06 uch Exp $";
+ "$NetBSD: bivideo.c,v 1.8 2001/06/11 09:37:40 sato Exp $";
#include <sys/param.h>
#include <sys/systm.h>
@@ -302,7 +302,7 @@
case BIFB_D16_0000:
fb->hf_class = HPCFB_CLASS_RGBCOLOR;
fb->hf_access_flags |= HPCFB_ACCESS_STATIC;
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if BYTE_ORDER == BIG_ENDIAN /* XXXX */
fb->hf_swap_flags = HPCFB_SWAP_BYTE;
#endif
fb->hf_pack_width = 16;
Home |
Main Index |
Thread Index |
Old Index