commit | 66082ed62971f408a33385bebc0676e0ac051cf2 | [log] [tgz] |
---|---|---|
author | Peter Xu <peterx@redhat.com> | Mon Dec 12 11:08:16 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Dec 22 12:49:40 2016 +0100 |
tree | 7ca42b4fad4a3b144dc097ebb531eab69a07c841 | |
parent | e954ce23cd9f942b3ddf16f4932087b3ee789259 [diff] |
pci: provide pci_enable_defaults() One helper function to set/clear specific bit in PCI_COMMAND register is introduced. Then, provide a function to do most of the common PCI init work. Suggested-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>