Re: [PATCH] ide_free_irq()

From: Andre Hedrick (andre@linuxdiskcert.org)
Date: Mon Mar 04 2002 - 17:57:01 EST


Sure but only one arch I see that is effected and they do not use this
storage class ...

asm-s390/ide.h:#define ide_free_irq(irq,dev_id) do {} while (0)
asm-s390x/ide.h:#define ide_free_irq(irq,dev_id) do {} while (0)

Is there another ?

On Mon, 4 Mar 2002, William Jhun wrote:

> Simple patch. The current drivers/ide/ide.c calls free_irq() instead of
> ide_free_irq(). We depend on these alternate routines to deal with our
> semi-broken hardware, but since ide-probe.c calls ide_reqest_irq(), it
> seems logical that this should also be ide_free_irq().
>
> Thanks,
> Will Jhun
>
> *** drivers/ide/ide.c.orig Mon Feb 25 11:37:57 2002
> --- drivers/ide/ide.c Mon Mar 4 14:05:41 2002
> ***************
> *** 2115,2121 ****
> g = g->next;
> } while (g != hwgroup->hwif);
> if (irq_count == 1)
> ! free_irq(hwif->irq, hwgroup);
>
> /*
> * Note that we only release the standard ports,
> --- 2115,2121 ----
> g = g->next;
> } while (g != hwgroup->hwif);
> if (irq_count == 1)
> ! ide_free_irq(hwif->irq, hwgroup);
>
> /*
> * Note that we only release the standard ports,
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
Linux Disk Certification Project Linux ATA Development

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:36 EST