diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-20 19:23:27 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-20 19:23:27 +0000 |
commit | 6f31c42fe923ff3f79a55d8c859e6ccfd3bd322d (patch) | |
tree | 62f1da478d0fd541eba121e9258b0d2623848983 /shared | |
parent | 59cc1d8256fb3b6e2374e52eb24da12b046aea91 (diff) |
Remove size restriction on permanent addmap
Diffstat (limited to 'shared')
-rw-r--r-- | shared/radeon_cp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c index 27a1beb0..b1b9bf6e 100644 --- a/shared/radeon_cp.c +++ b/shared/radeon_cp.c @@ -1743,9 +1743,8 @@ int radeon_preinit( struct drm_device *dev, unsigned long flags ) dev_priv->flags = flags; /* registers */ - /* PCI space is twice the real size, so that you can have a RW and RO mapping */ if( (ret = DRM(initmap)( dev, pci_resource_start( dev->pdev, 2 ), - pci_resource_len( dev->pdev, 2 ) / 2, _DRM_REGISTERS, 0 ))) + pci_resource_len( dev->pdev, 2 ), _DRM_REGISTERS, 0 ))) return ret; /* framebuffer */ |