Hi,

1. When we probe a device, how does it find out that the device actually
exists and is functional?

2. Do we probe for interrupts to check which interrupt line(s) can be
assigned to the device in question? 

3. When the driver is calling probe_irq_on, it returns a bit mask of
unassigned interrupts. In such case driver assigns an interrupt line for
that specific device, Am I right?

4. If so, then how does the driver decide which interrupt line to assign to
the device?

5. Once the driver assigns the interrupt line, why does the programmer need
to explicity enable the interrupt for that device. Shouldn't that be done by
probe_irq_on as default?

6. Why do we say that the programmer must be careful to enable interrupts on
the device after the call to the above function and disable them before the
probe_irq_off?

 

TIA.

 

Regards,

Rajendra Stalekar(extn 2016)

Location:- Akruti

Mobile no:- +91 9860501143

 

 

Reply via email to