eata: remove deprecated IRQF_DISABLED
PATCH 1/1 eata: remove deprecated IRQF_DISABLED
This patch proposes to remove the use of the IRQF_DISABLED flag
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
--- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/eata.c +1 -1
@@ -1221,7 +1221,7 @@ static int port_detect(unsigned long port_base, unsigned int j,/* Board detected, allocate its IRQ */ if (request_irq (irq, do_interrupt_handler, -IRQF_DISABLED | ((subversion ==ESA ) ?IRQF_SHARED :0 ), + (subversion ==ESA ) ?IRQF_SHARED :0 , driver_name, (void *)&sha[j])) {printk ("%s: unable to allocate IRQ %u, detaching.\n" , name, irq);
drivers/scsi/eata_pio.c +2 -2
@@ -687,7 +687,7 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdevreturn 0 ;if (!reg_IRQ[gc->IRQ]) {/* Interrupt already registered ? */ -if (!request_irq (gc->IRQ, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" , sh)) { +if (!request_irq (gc->IRQ, do_eata_pio_int_handler,0 ,"EATA-PIO" , sh)) { reg_IRQ[gc->IRQ]++;if (!gc->IRQ_TR) reg_IRQL[gc->IRQ] =1 ;/* IRQ is edge triggered */
@@ -921,7 +921,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt)for (i =0 ; i <MAXIRQ ; i++)if (reg_IRQ[i]) -request_irq (i, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" ,NULL ); +request_irq (i, do_eata_pio_int_handler,0 ,"EATA-PIO" ,NULL ); HBA_ptr = first_HBA;
Signature · 1 line
1.8.1.2
PATCH RESEND 1/1 eata: remove deprecated IRQF_DISABLED
This patch proposes to remove the use of the IRQF_DISABLED flag
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
--- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/eata.c +1 -1
@@ -1221,7 +1221,7 @@ static int port_detect(unsigned long port_base, unsigned int j,/* Board detected, allocate its IRQ */ if (request_irq (irq, do_interrupt_handler, -IRQF_DISABLED | ((subversion ==ESA ) ?IRQF_SHARED :0 ), + (subversion ==ESA ) ?IRQF_SHARED :0 , driver_name, (void *)&sha[j])) {printk ("%s: unable to allocate IRQ %u, detaching.\n" , name, irq);
drivers/scsi/eata_pio.c +2 -2
@@ -687,7 +687,7 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdevreturn 0 ;if (!reg_IRQ[gc->IRQ]) {/* Interrupt already registered ? */ -if (!request_irq (gc->IRQ, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" , sh)) { +if (!request_irq (gc->IRQ, do_eata_pio_int_handler,0 ,"EATA-PIO" , sh)) { reg_IRQ[gc->IRQ]++;if (!gc->IRQ_TR) reg_IRQL[gc->IRQ] =1 ;/* IRQ is edge triggered */
@@ -921,7 +921,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt)for (i =0 ; i <MAXIRQ ; i++)if (reg_IRQ[i]) -request_irq (i, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" ,NULL ); +request_irq (i, do_eata_pio_int_handler,0 ,"EATA-PIO" ,NULL ); HBA_ptr = first_HBA;
Signature · 1 line
1.8.3.2
PATCH RESEND 1/1 eata: remove deprecated IRQF_DISABLED
This patch removes the use of the IRQF_DISABLED flag from drivers/scsi/eata*
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
--- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/eata.c +1 -1
@@ -1221,7 +1221,7 @@ static int port_detect(unsigned long port_base, unsigned int j,/* Board detected, allocate its IRQ */ if (request_irq (irq, do_interrupt_handler, -IRQF_DISABLED | ((subversion ==ESA ) ?IRQF_SHARED :0 ), + (subversion ==ESA ) ?IRQF_SHARED :0 , driver_name, (void *)&sha[j])) {printk ("%s: unable to allocate IRQ %u, detaching.\n" , name, irq);
drivers/scsi/eata_pio.c +2 -2
@@ -687,7 +687,7 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdevreturn 0 ;if (!reg_IRQ[gc->IRQ]) {/* Interrupt already registered ? */ -if (!request_irq (gc->IRQ, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" , sh)) { +if (!request_irq (gc->IRQ, do_eata_pio_int_handler,0 ,"EATA-PIO" , sh)) { reg_IRQ[gc->IRQ]++;if (!gc->IRQ_TR) reg_IRQL[gc->IRQ] =1 ;/* IRQ is edge triggered */
@@ -921,7 +921,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt)for (i =0 ; i <MAXIRQ ; i++)if (reg_IRQ[i]) -request_irq (i, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" ,NULL ); +request_irq (i, do_eata_pio_int_handler,0 ,"EATA-PIO" ,NULL ); HBA_ptr = first_HBA;
Signature · 1 line
1.8.3.2
PATCH RESEND 1/1 eata: remove deprecated IRQF_DISABLED
This patch removes the use of the IRQF_DISABLED flag from drivers/scsi/eata*
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
--- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/eata.c +1 -1
@@ -1221,7 +1221,7 @@ static int port_detect(unsigned long port_base, unsigned int j,/* Board detected, allocate its IRQ */ if (request_irq (irq, do_interrupt_handler, -IRQF_DISABLED | ((subversion ==ESA ) ?IRQF_SHARED :0 ), + (subversion ==ESA ) ?IRQF_SHARED :0 , driver_name, (void *)&sha[j])) {printk ("%s: unable to allocate IRQ %u, detaching.\n" , name, irq);
drivers/scsi/eata_pio.c +2 -2
@@ -687,7 +687,7 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdevreturn 0 ;if (!reg_IRQ[gc->IRQ]) {/* Interrupt already registered ? */ -if (!request_irq (gc->IRQ, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" , sh)) { +if (!request_irq (gc->IRQ, do_eata_pio_int_handler,0 ,"EATA-PIO" , sh)) { reg_IRQ[gc->IRQ]++;if (!gc->IRQ_TR) reg_IRQL[gc->IRQ] =1 ;/* IRQ is edge triggered */
@@ -921,7 +921,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt)for (i =0 ; i <MAXIRQ ; i++)if (reg_IRQ[i]) -request_irq (i, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" ,NULL ); +request_irq (i, do_eata_pio_int_handler,0 ,"EATA-PIO" ,NULL ); HBA_ptr = first_HBA;
Signature · 1 line
1.8.3.2