The kernel calls the driver’s probe() function when a matching device is found. Inside probe() , the driver must:
PCIe introduces several new requirements for drivers: pci device driver
// 5. Set up interrupt handler request_irq(pdev->irq, my_interrupt_handler, IRQF_SHARED, "my_driver", dev); The kernel calls the driver’s probe() function when