Michael S. Tsirkin 711d57796f 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 <gregkh@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-09-09 13:29:24 -07:00
..
2009-02-06 09:05:31 +11:00
2008-11-12 17:17:18 -08:00
2008-05-24 09:56:07 -07:00
2007-02-11 10:51:28 -08:00
2009-02-18 15:37:56 -08:00
2008-09-13 14:41:52 -07:00
2008-04-19 19:10:28 -07:00
2008-07-24 10:47:17 -07:00
2008-04-18 08:56:07 -07:00
2006-11-03 12:27:58 -08:00
2009-06-18 13:04:04 -07:00