aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_regs.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-23 18:50:52 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-23 18:50:52 -0700
commit46214fc3979ed60b32289ade1b8efbba1c8bf732 (patch)
treecd27f5f11124c979821aa92d636ba5cdcfb152ed /linux-core/xgi_regs.h
parent388a2c54eea7575a5b046da3df09f7a1c63551d6 (diff)
Minor log message clean up.
Diffstat (limited to 'linux-core/xgi_regs.h')
-rw-r--r--linux-core/xgi_regs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/xgi_regs.h b/linux-core/xgi_regs.h
index b211626a..f5311c1e 100644
--- a/linux-core/xgi_regs.h
+++ b/linux-core/xgi_regs.h
@@ -76,9 +76,10 @@ static inline u8 IN3CFB(struct drm_map * map, u8 index)
*/
static inline void dwWriteReg(struct drm_map * map, u32 addr, u32 data)
{
+#ifdef XGI_MMIO_DEBUG
DRM_INFO("mmio_map->handle = 0x%p, addr = 0x%x, data = 0x%x\n",
map->handle, addr, data);
-
+#endif
DRM_WRITE32(map, addr, data);
}