Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci there is no R128_LITTLE_ENDIAN_EN flag, just lac...
details: https://anonhg.NetBSD.org/src/rev/bb4f8a2f9667
branches: trunk
changeset: 760049:bb4f8a2f9667
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Dec 25 03:29:08 2010 +0000
description:
there is no R128_LITTLE_ENDIAN_EN flag, just lack of R128_HOST_BIG_ENDIAN_EN
Someone(tm) needs to test this on little endian hw
diffstat:
sys/dev/pci/r128fb.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 2c9d235f46f3 -r bb4f8a2f9667 sys/dev/pci/r128fb.c
--- a/sys/dev/pci/r128fb.c Sat Dec 25 01:25:37 2010 +0000
+++ b/sys/dev/pci/r128fb.c Sat Dec 25 03:29:08 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: r128fb.c,v 1.17 2010/12/16 06:45:50 cegger Exp $ */
+/* $NetBSD: r128fb.c,v 1.18 2010/12/25 03:29:08 macallan Exp $ */
/*
* Copyright (c) 2007 Michael Lorenz
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: r128fb.c,v 1.17 2010/12/16 06:45:50 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: r128fb.c,v 1.18 2010/12/25 03:29:08 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -623,8 +623,7 @@
bus_space_write_4(sc->sc_memt, sc->sc_regh, R128_DP_DATATYPE,
R128_HOST_BIG_ENDIAN_EN);
#else
- bus_space_write_4(sc->sc_memt, sc->sc_regh, R128_DP_DATATYPE,
- R128_HOST_LITTLE_ENDIAN_EN);
+ bus_space_write_4(sc->sc_memt, sc->sc_regh, R128_DP_DATATYPE, 0);
#endif
r128fb_wait(sc, 5);
Home |
Main Index |
Thread Index |
Old Index