Re: spin_lock_irq_save and restore functions

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

 



On Fri, 2006-11-10 at 09:23 -0600, Dinesh wrote:
> Hello there,
> 
> My PCI device driver disables ethernet card IRQ upon loading and thus 
> causing ethernet to fail to connect to Internet. This is on Fedora Core 
> 5, 2.6.11 onwards. I have not checked any previous kernel versions. Most 
> unfortunate is that the irq is not being shared by the devices. But, my 
> driver implements SA_SHIRQ to enable sharing.
> Do you think using spin_lock_irq_save and restore functions be of any 
> help? If so, where exactly do you think I should use them. Should it be 
> used in the interrupt handler method or in the open method where I have 
> request_irq? I read the interrupt handling chapter of device drivers 3rd 
> edition. I could not find a real good explanation in there.


I doubt anyone can help you if you don't even say which driver this is,
or how to get a look at the source code for it...


-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux