Changeset 20007 for trunk


Ignore:
Timestamp:
2010-03-05T21:29:29+01:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c

    r17142 r20007  
    159159static void __init ar724x_pci_irq_init(void) 
    160160{ 
     161        u32 t; 
    161162        int i; 
     163 
     164        t = ar71xx_reset_rr(AR724X_RESET_REG_RESET_MODULE); 
     165        if (t & (AR724X_RESET_PCIE | AR724X_RESET_PCIE_PHY | 
     166                 AR724X_RESET_PCIE_PHY_SERIAL)) { 
     167                return; 
     168        } 
    162169 
    163170        ar71xx_ip2_irq_handler = ar724x_pci_irq_dispatch; 
Note: See TracChangeset for help on using the changeset viewer.