nouveau: PMC_BOOT_1 was not mapped.

main
Maarten Maathuis 2007-10-10 16:41:21 +02:00
parent d4680333dc
commit d912709a63
1 changed files with 1 additions and 1 deletions

View File

@ -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); 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 */ /* 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) { if (!regs) {
DRM_ERROR("Could not ioremap to determine register\n"); DRM_ERROR("Could not ioremap to determine register\n");
return -ENOMEM; return -ENOMEM;