source: trunk/package/ep80579-drivers/patches/003-new_irqf_constants.patch @ 20648

Last change on this file since 20648 was 20648, checked in by kaloz, 7 years ago

[x86]: add a subtarget and drivers for the Intel Tolapai SoC

File size: 1.8 KB
  • Embedded/src/1588/1588.c

    a b int pci_probe(struct pci_dev *dev, const 
    291291 
    292292    } 
    293293 
    294     if ( request_irq(dev->irq, &timesync_isr, SA_SHIRQ, DRIVERNAME, 
     294    if ( request_irq(dev->irq, &timesync_isr, IRQF_SHARED, DRIVERNAME, 
    295295         &g_drvr_data) ) 
    296296    { 
    297297      printk("%s-pci_probe: irq\n", DRIVERNAME); 
  • Embedded/src/CAN/can_main.c

    a b int can_open(struct inode *inode, struct 
    424424    err = request_irq( 
    425425        can_os->irq, 
    426426        can_irq_handler, 
    427         SA_SHIRQ, 
     427        IRQF_SHARED, 
    428428        iminor(can_os->inode) ? CAN_PROC_1 : CAN_PROC_0, 
    429429        &(g_can_os[iminor(can_os->inode)]) 
    430430        ); 
  • Embedded/src/EDMA/dma_linux.c

    a b int32_t edma_resume(struct pci_dev *dev) 
    367367        return -ENODEV; 
    368368    } 
    369369 
    370     if (request_irq(dev->irq, &edma_irq_handler, SA_SHIRQ, 
     370    if (request_irq(dev->irq, &edma_irq_handler, IRQF_SHARED, 
    371371                        g_char_drvr_name, dev) ) 
    372372    { 
    373373 
    int32_t edma_probe(struct pci_dev * dev, 
    829829    /* 
    830830    * Obtain a (shared) Interrupt Request (IRQ) Line from the OS. 
    831831    */ 
    832     if (request_irq(dev->irq, &edma_irq_handler, SA_SHIRQ, 
     832    if (request_irq(dev->irq, &edma_irq_handler, IRQF_SHARED, 
    833833                        g_char_drvr_name, dev) ) 
    834834    { 
    835835 
  • Embedded/src/WDT/iwdt.c

    a b static int __init wdt_init_one(struct pc 
    14611461 
    14621462     /* Request irq only if wdt_irq is other than 0 */ 
    14631463     if (wdt_irq) { 
    1464         if (request_irq(wdt_irq, wdt_isr, SA_INTERRUPT | SA_SHIRQ, 
     1464        if (request_irq(wdt_irq, wdt_isr, IRQF_DISABLED | IRQF_SHARED, 
    14651465           "iwdt", &wdt_miscdev)) { 
    14661466           printk("IRQ %d is not free.\n", wdt_irq); 
    14671467           return -EIO; 
Note: See TracBrowser for help on using the repository browser.