OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b39f961
)
libqos/pci: Enable bus mastering
author
Kevin Wolf
<kwolf@redhat.com>
Wed, 13 Mar 2013 16:00:40 +0000
(17:00 +0100)
committer
Kevin Wolf
<kwolf@redhat.com>
Wed, 8 May 2013 13:28:49 +0000
(15:28 +0200)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/libqos/pci.c
patch
|
blob
|
history
diff --git
a/tests/libqos/pci.c
b/tests/libqos/pci.c
index
95e287b
..
7e0907b
100644
(file)
--- a/
tests/libqos/pci.c
+++ b/
tests/libqos/pci.c
@@
-71,7
+71,7
@@
void qpci_device_enable(QPCIDevice *dev)
/* FIXME -- does this need to be a bus callout? */
cmd = qpci_config_readw(dev, PCI_COMMAND);
- cmd |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
+ cmd |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY
| PCI_COMMAND_MASTER
;
qpci_config_writew(dev, PCI_COMMAND, cmd);
}