mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
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 <[email protected]> Reviewed-by: Matthew Wilcox <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>