* Zhao, Yu <yu.zhao@xxxxxxxxx>: > On Tuesday, September 02, 2008 12:41 AM, Alex Chiang wrote: > > > >So, what happens if another hotplug driver is already loaded? > > > >I don't know the SR-IOV spec well enough to know if you are > >allowed to have SR-IOV + some other form of hotplug, like ACPI or > >native PCIe. > > > >Today, pci_hp_register will return -EBUSY. > > > >If SR-IOV really doesn't have anything to do with hotplug, then > >it may be a candidate for directly calling pci_create_slot(). In > >that case, 'param' should not be a property of a hotplug slot, > >but of a generic PCI slot. > > That's correct, SR-IOV really doesn't have anything to do with > hotplug. I was just reusing hotplug sysfs as the control > interface. Will remove this in next work, and create SR-IOV own > sysfs entries under /sys/bus/pci/devices/.../iov/... That sounds like a much better idea to me, thanks. /ac -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html