summaryrefslogtreecommitdiff
path: root/src/smi_501.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-30 19:05:40 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-30 19:05:40 -0200
commite5cd9e4640555b9a3d4fab205e4b77faaca89d89 (patch)
tree501ec0b779ad74d4a6bd37b75fa4aef5856202f9 /src/smi_501.h
parent5acf7e22c256637ba7139733cdba1c59557dd7ff (diff)
Update memory detection for MSOC.
Use "local memory" field of mmio 0x010 and not "system memory", as it uses system memory values whenever there is a choice (just sets bits to zero).
Diffstat (limited to 'src/smi_501.h')
-rw-r--r--src/smi_501.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_501.h b/src/smi_501.h
index ca49813..ddee5c5 100644
--- a/src/smi_501.h
+++ b/src/smi_501.h
@@ -41,7 +41,7 @@ authorization from the XFree86 Project and Silicon Motion.
#define bits(lo, hi) hi + 1 - lo
-#define DRAM_CONTROL 0x000010
+#define DRAM_CTL 0x000010
#define CMD_STATUS 0x000024
/* contents of either power0_clock or power1_clock */