From f4c2f1400203434d9a5392b990aaa4fa32dce9c5 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Sun, 19 Aug 2001 15:20:08 +0000 Subject: No one's maintaining 2.2.x support - so remove all the cruft. --- linux-core/ati_pcigart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux-core/ati_pcigart.c') diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c index a794b3e0..d5d7c0ad 100644 --- a/linux-core/ati_pcigart.c +++ b/linux-core/ati_pcigart.c @@ -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; -- cgit v1.2.3