--- linux-2.6.18.noarch/drivers/net/wireless/rt2x00/rt2x00pci.c.orig 2009-12-10 10:07:05.000000000 -0500 +++ linux-2.6.18.noarch/drivers/net/wireless/rt2x00/rt2x00pci.c 2009-12-10 10:07:11.000000000 -0500 @@ -242,12 +242,7 @@ static int rt2x00pci_alloc_reg(struct rt { struct pci_dev *pci_dev = to_pci_dev(rt2x00dev->dev); -#if 0 /* Not in RHEL5... */ rt2x00dev->csr.base = pci_ioremap_bar(pci_dev, 0); -#else - rt2x00dev->csr.base = ioremap(pci_resource_start(pci_dev, 0), - pci_resource_len(pci_dev, 0)); -#endif if (!rt2x00dev->csr.base) goto exit;