Discussion
Put the steps of a platform driver's probe in order.
1. Register the device with its subsystem 2. Map the register block with ioremap 3. Read the addresses and interrupt from the device node 4. Request the interrupt
Answer: B
The node supplies the resources, they are mapped, the interrupt is requested once the handler can safely run, and the device is announced to the rest of the kernel only when it is fully ready. Registering first would expose a half-initialised device to a user.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development