How does kernel know the IRQ of a device loaded dynamically

2010-08-12 Thread Parmenides
Hi, For some traditional devices, such as floppy, keyboard, etc, the IRQ is static, and their drivers know corresponding IRQs to register their ISR. While for other devices hot plugged, such as USB devices, how does the PIC or APIC allocate the IRQs for their controller? And how does the deriver

Re: How does kernel know the IRQ of a device loaded dynamically

2010-08-12 Thread Mulyadi Santosa
Hi Parmenides On Thu, Aug 12, 2010 at 20:28, Parmenides mobile.parmeni...@gmail.com wrote: Hi, For some traditional devices, such as floppy, keyboard, etc, the IRQ is static, and their drivers know corresponding IRQs to register their ISR. While for other devices hot plugged, such as USB

Re: How does kernel know the IRQ of a device loaded dynamically

2010-08-12 Thread Wouter Simons
On 08/12/2010 03:28 PM, Parmenides wrote: Hi, For some traditional devices, such as floppy, keyboard, etc, the IRQ is static, and their drivers know corresponding IRQs to register their ISR. While for other devices hot plugged, such as USB devices, how does the PIC or APIC allocate the IRQs

Re: How does kernel know the IRQ of a device loaded dynamically

2010-08-12 Thread Kaustubh Ashtekar
On Thu, Aug 12, 2010 at 8:36 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi Parmenides On Thu, Aug 12, 2010 at 20:28, Parmenides mobile.parmeni...@gmail.com wrote: Hi, For some traditional devices, such as floppy, keyboard, etc, the IRQ is static, and their drivers know