Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: atarilance: Remove obsolete IRQ_TYPE_PRIO

IRQ_TYPE_PRIO is no longer used by the Atari platform interrupt code
since commit 734085651c9b80aa ("[PATCH] m68k: convert atari irq code")
in v2.6.18-rc1, so drop it.

Note that its value has been reused for a different purpose
(IRQ_TYPE_EDGE_FALLING) since commit 6a6de9ef5850d063 ("[PATCH] genirq:
core") in v2.6.18-rc1.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: David S. Miller <davem@davemloft.net>

+4 -4
+4 -4
drivers/net/ethernet/amd/atarilance.c
··· 553 553 if (lp->cardtype == PAM_CARD || 554 554 memaddr == (unsigned short *)0xffe00000) { 555 555 /* PAMs card and Riebl on ST use level 5 autovector */ 556 - if (request_irq(IRQ_AUTO_5, lance_interrupt, IRQ_TYPE_PRIO, 557 - "PAM,Riebl-ST Ethernet", dev)) { 556 + if (request_irq(IRQ_AUTO_5, lance_interrupt, 0, 557 + "PAM,Riebl-ST Ethernet", dev)) { 558 558 printk( "Lance: request for irq %d failed\n", IRQ_AUTO_5 ); 559 559 return 0; 560 560 } ··· 567 567 printk( "Lance: request for VME interrupt failed\n" ); 568 568 return 0; 569 569 } 570 - if (request_irq(irq, lance_interrupt, IRQ_TYPE_PRIO, 571 - "Riebl-VME Ethernet", dev)) { 570 + if (request_irq(irq, lance_interrupt, 0, "Riebl-VME Ethernet", 571 + dev)) { 572 572 printk( "Lance: request for irq %u failed\n", irq ); 573 573 return 0; 574 574 }