There is some CompactPCI hot swap controller code that was written by
MontaVista, but isn't in the main kernel tree right now. I was talking
with the author of it to move their code into the existing pci hotplug
structure that is in the kernel, but haven't heard back from them for a
while.
However, I don't think anyone has looked at device naming based on PCI
physical slots yet. I know some attempts have been done for physical
location in the USB tree, so some of that old code might be helpful.
The hardest thing you will probably have is getting the physical slot
name from your pci driver.
Hope this helps,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/