aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nouveau_state.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2007-10-10 16:41:21 +0200
committerMaarten Maathuis <madman2003@gmail.com>2007-10-10 16:41:21 +0200
commitd912709a63c59d0b3e48458bac41fb76ea279214 (patch)
tree536071892fd8a490be4e691f0800fe2ddb5dd78a /shared-core/nouveau_state.c
parentd4680333dc850832258d0f38fb2a236a3f568fc8 (diff)
nouveau: PMC_BOOT_1 was not mapped.
Diffstat (limited to 'shared-core/nouveau_state.c')
-rw-r--r--shared-core/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index eec88fe4..3ce9247f 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -421,7 +421,7 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
DRM_DEBUG("vendor: 0x%X device: 0x%X class: 0x%X\n", dev->pci_vendor, dev->pci_device, dev->pdev->class);
/* Time to determine the card architecture */
- regs = ioremap_nocache(pci_resource_start(dev->pdev, 0), 0x4);
+ regs = ioremap_nocache(pci_resource_start(dev->pdev, 0), 0x8);
if (!regs) {
DRM_ERROR("Could not ioremap to determine register\n");
return -ENOMEM;