summaryrefslogtreecommitdiff
path: root/linux/ati_pcigart.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-08-19 15:20:08 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-08-19 15:20:08 +0000
commitf4c2f1400203434d9a5392b990aaa4fa32dce9c5 (patch)
tree85cfb2292942fb8ddd4f44dc94275433dc74df05 /linux/ati_pcigart.h
parent8aaf82d45c406220d5f18168e4350827a9e038e2 (diff)
No one's maintaining 2.2.x support - so remove all the cruft.X_4_1_99_1-20010822-preimport
Diffstat (limited to 'linux/ati_pcigart.h')
-rw-r--r--linux/ati_pcigart.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/ati_pcigart.h b/linux/ati_pcigart.h
index a794b3e0f..d5d7c0ad0 100644
--- a/linux/ati_pcigart.h
+++ b/linux/ati_pcigart.h
@@ -103,7 +103,7 @@ int DRM(ati_pcigart_init)( drm_device_t *dev,
goto done;
}
-#if defined(__alpha__) && (LINUX_VERSION_CODE >= 0x020400)
+#if defined(__alpha__)
if ( !dev->pdev ) {
DRM_ERROR( "PCI device unknown!\n" );
goto done;
@@ -130,7 +130,7 @@ int DRM(ati_pcigart_init)( drm_device_t *dev,
memset( pci_gart, 0, ATI_MAX_PCIGART_PAGES * sizeof(u32) );
for ( i = 0 ; i < pages ; i++ ) {
-#if defined(__alpha__) && (LINUX_VERSION_CODE >= 0x020400)
+#if defined(__alpha__)
/* we need to support large memory configurations */
entry->busaddr[i] = pci_map_single(dev->pdev,
page_address( entry->pagelist[i] ),
@@ -171,7 +171,7 @@ int DRM(ati_pcigart_cleanup)( drm_device_t *dev,
unsigned long addr,
dma_addr_t bus_addr)
{
-#if defined(__alpha__) && (LINUX_VERSION_CODE >= 0x020400)
+#if defined(__alpha__)
drm_sg_mem_t *entry = dev->sg;
unsigned long pages;
int i;