net: atarilance: Remove obsolete IRQ_TYPE_PRIO
IRQ_TYPE_PRIO is no longer used by the Atari platform interrupt code since commit734085651c
("[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 commit6a6de9ef58
("[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>
This commit is contained in:
parent
e69229f2eb
commit
8f2bfe5f35
|
@ -553,7 +553,7 @@ static unsigned long __init lance_probe1( struct net_device *dev,
|
||||||
if (lp->cardtype == PAM_CARD ||
|
if (lp->cardtype == PAM_CARD ||
|
||||||
memaddr == (unsigned short *)0xffe00000) {
|
memaddr == (unsigned short *)0xffe00000) {
|
||||||
/* PAMs card and Riebl on ST use level 5 autovector */
|
/* PAMs card and Riebl on ST use level 5 autovector */
|
||||||
if (request_irq(IRQ_AUTO_5, lance_interrupt, IRQ_TYPE_PRIO,
|
if (request_irq(IRQ_AUTO_5, lance_interrupt, 0,
|
||||||
"PAM,Riebl-ST Ethernet", dev)) {
|
"PAM,Riebl-ST Ethernet", dev)) {
|
||||||
printk( "Lance: request for irq %d failed\n", IRQ_AUTO_5 );
|
printk( "Lance: request for irq %d failed\n", IRQ_AUTO_5 );
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -567,8 +567,8 @@ static unsigned long __init lance_probe1( struct net_device *dev,
|
||||||
printk( "Lance: request for VME interrupt failed\n" );
|
printk( "Lance: request for VME interrupt failed\n" );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (request_irq(irq, lance_interrupt, IRQ_TYPE_PRIO,
|
if (request_irq(irq, lance_interrupt, 0, "Riebl-VME Ethernet",
|
||||||
"Riebl-VME Ethernet", dev)) {
|
dev)) {
|
||||||
printk( "Lance: request for irq %u failed\n", irq );
|
printk( "Lance: request for irq %u failed\n", irq );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue