<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial" size="2"><span style="font-size:10pt;">
<div> </div>
<div>Hi Scott,</div>
<div> </div>
<div> I try to request an IRQ (IRQ2 and IRQ3 which are ineterrupt no 20 and 21 in mpc8247)in my driver . The</div>
<div>Call fails in setup_irq in Manage.c at /kernel/irq. </div>
<div> </div>
<div>Setup _irq returns -ENOSYS</div>
<div> </div>
<div><font color="red">if (desc->irq_data.chip == &no_irq_chip)</font></div>
<div><font color="red">                 return -ENOSYS;</font></div>
<div><font color="red"> </font></div>
<div>I just want to know why it fails. Below is the call to request irq in my driver. </div>
<div> </div>
<div> </div>
<div>#define CPLD1_INTERRUPT  20</div>
<div>if <b>(request_irq(CPLD1_INTERRUPT,cpld_irq_handler, 0, GPIO_CHAR_PATH, NULL</b>))</div>
<div>   {</div>
<div>      printk(KERN_ERR "gpio_init: Could not grab IRQ line for CPLD\n");</div>
<div>          goto err1;</div>
<div>   }</div>
<div> </div>
<div>Regards,</div>
<div>Smitha</div>
<div><font color="red"> </font></div>
<div><font color="red"> </font></div>
</span></font>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</body>
</html>