Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-22-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 2
PCIe Hotplug
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.
Result:
Nothing happens if a card is hotplugged (either added/removed)
My kernel is built with following option in config:
CONFIG_HOTPLUG=y
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_COMPAQ=m
CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM=y
CONFIG_HOTPLUG_PCI_IBM=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=m
Please let me know what am i missing ?
Thanks
Anand


Reply With Quote
