lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 30 Nov 2007 17:39:37 +0000
From:	"Chris Rutherford" <chrismrutherford@...glemail.com>
To:	"Jiri Slaby" <jirislaby@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: ldd irq problem

many thanks, the following says it all..

box:/home/chris/work/fpgaio# grep sha1 /proc/interrupts
 12:   14669741          XT-PIC  sha1 handler


On Nov 30, 2007 10:31 AM, Jiri Slaby <jirislaby@...il.com> wrote:
> On 11/30/2007 10:28 AM, Chris Rutherford wrote:
> > Helo lkml,
> >
> > I'm trying to write a LDD but I have got a bug.  Any ideas what i
> > might be doing wrong?
> >
> > ret = request_irq(12, handler, SA_INTERRUPT | SA_SHIRQ, "sha1
> > handler", DEVICE_NAME);
> > printk (KERN_INFO "req irq %d \n", ret);
> > enable_irq(12);
>
> enable_irq is opposite of disable_irq(_nosync), you don't need to call it in
> probe function and in most cases you don't need it at all.
>
> regards,
> --
> Jiri Slaby (jirislaby@...il.com)
> Faculty of Informatics, Masaryk University
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ