summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-30 09:59:19 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-30 09:59:19 -0700
commit2ac80e79e424aa6577e556b2df01caea9e480852 (patch)
tree18553b6ca02de87dc89d8adeb46c4160cafbe419
parentcd51f131389297f923798daef6c734ba93f4422b (diff)
Use OUT3C5B macro instead of assuming little-endian byte order.
-rw-r--r--linux-core/xgi_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/xgi_regs.h b/linux-core/xgi_regs.h
index 34268a56..b3a47f8e 100644
--- a/linux-core/xgi_regs.h
+++ b/linux-core/xgi_regs.h
@@ -130,7 +130,7 @@ static inline void xgi_enable_ge(struct xgi_info * info)
int wait = 0;
// Enable GE
- DRM_WRITE16(info->mmio_map, 0x3C4, 0x9211);
+ OUT3C5B(info->mmio_map, 0x11, 0x92);
// Save and close dynamic gating
bOld3cf2a = IN3CFB(info->mmio_map, 0x2a);