Module Name: src
Committed By: macallan
Date: Sat Dec 25 03:29:08 UTC 2010
Modified Files:
src/sys/dev/pci: r128fb.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/r128fb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/r128fb.c
diff -u src/sys/dev/pci/r128fb.c:1.17 src/sys/dev/pci/r128fb.c:1.18
--- src/sys/dev/pci/r128fb.c:1.17 Thu Dec 16 06:45:50 2010
+++ src/sys/dev/pci/r128fb.c Sat Dec 25 03:29:08 2010
@@ -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);