netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
[openwrt.git] / package / ep80579-drivers / patches / 003-new_irqf_constants.patch
1 --- a/Embedded/src/1588/1588.c
2 +++ b/Embedded/src/1588/1588.c
3 @@ -291,7 +291,7 @@ int pci_probe(struct pci_dev *dev, const
4
5 }
6
7 - if ( request_irq(dev->irq, &timesync_isr, SA_SHIRQ, DRIVERNAME,
8 + if ( request_irq(dev->irq, &timesync_isr, IRQF_SHARED, DRIVERNAME,
9 &g_drvr_data) )
10 {
11 printk("%s-pci_probe: irq\n", DRIVERNAME);
12 --- a/Embedded/src/CAN/can_main.c
13 +++ b/Embedded/src/CAN/can_main.c
14 @@ -424,7 +424,7 @@ int can_open(struct inode *inode, struct
15 err = request_irq(
16 can_os->irq,
17 can_irq_handler,
18 - SA_SHIRQ,
19 + IRQF_SHARED,
20 iminor(can_os->inode) ? CAN_PROC_1 : CAN_PROC_0,
21 &(g_can_os[iminor(can_os->inode)])
22 );
23 --- a/Embedded/src/EDMA/dma_linux.c
24 +++ b/Embedded/src/EDMA/dma_linux.c
25 @@ -367,7 +367,7 @@ int32_t edma_resume(struct pci_dev *dev)
26 return -ENODEV;
27 }
28
29 - if (request_irq(dev->irq, &edma_irq_handler, SA_SHIRQ,
30 + if (request_irq(dev->irq, &edma_irq_handler, IRQF_SHARED,
31 g_char_drvr_name, dev) )
32 {
33
34 @@ -829,7 +829,7 @@ int32_t edma_probe(struct pci_dev * dev,
35 /*
36 * Obtain a (shared) Interrupt Request (IRQ) Line from the OS.
37 */
38 - if (request_irq(dev->irq, &edma_irq_handler, SA_SHIRQ,
39 + if (request_irq(dev->irq, &edma_irq_handler, IRQF_SHARED,
40 g_char_drvr_name, dev) )
41 {
42
43 --- a/Embedded/src/WDT/iwdt.c
44 +++ b/Embedded/src/WDT/iwdt.c
45 @@ -1461,7 +1461,7 @@ static int __init wdt_init_one(struct pc
46
47 /* Request irq only if wdt_irq is other than 0 */
48 if (wdt_irq) {
49 - if (request_irq(wdt_irq, wdt_isr, SA_INTERRUPT | SA_SHIRQ,
50 + if (request_irq(wdt_irq, wdt_isr, IRQF_DISABLED | IRQF_SHARED,
51 "iwdt", &wdt_miscdev)) {
52 printk("IRQ %d is not free.\n", wdt_irq);
53 return -EIO;
This page took 0.043615 seconds and 5 git commands to generate.