I am writing a driver which should support hotplug. My Assumption is that after I call pci_register_driver() with appropriate .remove() routine. it should get invoked when a card is hotplugged to into the system. Please correct me if my assumption is not correct.
The setup is :
PCIe cable connected to a switch, switch has three slots which have hotplug support.
Nothing happens if a card is hotplugged (either added/removed)
My kernel is built with following option in config:
Please let me know what am i missing ?