diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-02-03 04:57:06 +0100 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-02-03 04:57:06 +0100 |
commit | 5a072f32c8f941d1ef301811881e8c89c8d8a5f1 (patch) | |
tree | ff2b5ecf6a82f61b65ead94c00f8d04c1861fea2 /shared-core/nouveau_state.c | |
parent | e64dbef911cd739ba5c4d26493dfef6766ff83fd (diff) |
nouveau: rename registers to their proper names.
Diffstat (limited to 'shared-core/nouveau_state.c')
-rw-r--r-- | shared-core/nouveau_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index d20dca22..a45c48e9 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -87,7 +87,7 @@ int nouveau_firstopen(struct drm_device *dev) if (dev_priv->card_type < NV_10) dev_priv->chipset = dev_priv->card_type; else - dev_priv->chipset =(NV_READ(NV_PMC_BOOT_0) & 0x0ff00000) >> 20; + dev_priv->chipset =(NV_READ(NV03_PMC_BOOT_0) & 0x0ff00000) >> 20; /* Clear RAMIN * Determine locations for RAMHT/FC/RO |