summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-08-03 14:17:41 +1000
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:47:11 +1000
commit0e9ebc209ed037d366d9afdd540503152756b43c (patch)
tree35f102ca380c548a27b6f104ace357228049b9c3
parented624b6034081e90847be34e40c3624aa86bdc41 (diff)
Revert "set RI_BSWAP for all big endian systems not just sparc64"
This reverts commit b4402ac988e948f84923d3228f6d773bb4ad20cc. this should match the other sparc64 fb init chunk
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index 09cb93ae669..505fe1d56ec 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -1741,7 +1741,7 @@ radeondrm_attachhook(void *xsc)
drm_fb_helper_restore();
ri->ri_flg = RI_CENTER | RI_VCONS | RI_WRONLY;
-#ifdef __BIG_ENDIAN
+#ifdef __sparc64__
ri->ri_flg |= RI_BSWAP;
#endif
rasops_init(ri, 160, 160);