From: Michael S. Tsirkin Date: Mon, 27 Jul 2009 20:37:48 +0000 (+0300) Subject: PCI: expose function reset capability in sysfs X-Git-Tag: v2.6.32-rc1~670^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=711d57796f5ce2d02d6e62c9034afbb16aedda31;p=pandora-kernel.git PCI: expose function reset capability in sysfs Some devices allow an individual function to be reset without affecting other functions in the same device: that's what pci_reset_function does. For devices that have this support, expose reset attribite in sysfs. This is useful e.g. for virtualization, where a qemu userspace process wants to reset the device when the guest is reset, to emulate machine reboot as closely as possible. Acked-by: Greg Kroah-Hartman Signed-off-by: Michael S. Tsirkin Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed