Changeset 2347

Show
Ignore:
Timestamp:
05/17/07 18:56:38 (2 years ago)
Author:
mentor
Message:

Changes to compile against Linux 2.6.22

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dadwifi/ath/if_ath_pci.c

    r2166 r2347  
    200200        pci_set_drvdata(pdev, sc); 
    201201 
     202#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) 
     203        if (request_irq(pdev->irq, ath_intr, IRQF_SHARED, sc->aps_sc.name, sc)) { 
     204#else 
    202205        if (request_irq(pdev->irq, ath_intr, SA_SHIRQ, sc->aps_sc.name, sc)) { 
     206#endif 
    203207                printk(KERN_WARNING "%s: request_irq failed\n", 
    204208                       sc->aps_sc.name);