diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-23 04:08:29 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 20:13:23 +0100 |
commit | 6a479079c07211bf348ac8a79754f26bea258f26 (patch) | |
tree | 1587c0ed9446c7d0d6ab8a38d1524132e2faae35 /Documentation/DocBook/procfs-guide.tmpl | |
parent | PCI hotplug: remove redundant test in cpq hotplug (diff) | |
download | linux-6a479079c07211bf348ac8a79754f26bea258f26.tar.xz linux-6a479079c07211bf348ac8a79754f26bea258f26.zip |
PCI: Add pci_clear_master() as opposite of pci_set_master()
During an online device reset it may be useful to disable bus-mastering.
pci_disable_device() does that, and far more besides, so is not suitable
for an online reset.
Add pci_clear_master() which does just this.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'Documentation/DocBook/procfs-guide.tmpl')
0 files changed, 0 insertions, 0 deletions