static int
ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{
- unsigned long phymem;
+ resource_size_t phymem;
void __iomem *mem;
struct ath_pci_softc *sc;
struct net_device *dev;
goto bad4;
athname = ath_hal_probe(id->vendor, vdevice);
- printk(KERN_INFO "%s: %s: %s: mem=0x%lx, irq=%d\n",
- dev_info, dev->name, athname ? athname : "Atheros ???", phymem, dev->irq);
+ printk(KERN_INFO "%s: %s: %s: mem=0x%llx, irq=%d\n",
+ dev_info, dev->name, athname ? athname : "Atheros ???",
+ (unsigned long long)phymem, dev->irq);
/* ready to process interrupts */
sc->aps_sc.sc_invalid = 0;
}
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+typedef unsigned long resource_size_t;
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#define IRQF_SHARED SA_SHIRQ
#endif