Re: [PATCH] irq handler must disable the handled irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 27, 2008 at 02:15:09PM +0000, Alan Cox wrote:
> You can't call disable_irq in an IRQ handler. What are you actually
> trying to do ?

Well, what I'm trying to do is getting the driver to a working state.
But it seems like I don't know what I'm actually doing. :/

The symptom I discovered was rb532_pata_irq_handler() being called over
and over again, endlessly. Calling disable_irq() from within stopped
that, so I assumed it to be right (obviously the wrong direction for a
proof).

As the working driver for 2.6.19 I have here is not based on libata, I'm
not quite sure how much code is still required and where to hook it into
the libata subsystem.

Greetings, Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux