projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2980f
)
Fix typo in PCI bridge code.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 6 Mar 2007 19:36:53 +0000
(19:36 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 6 Mar 2007 19:36:53 +0000
(19:36 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2470
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index b895f98a094873eed21de2b79e6efffb339f84d1..eeaef9e83dc4f13f41d522b451bc7758248c702e 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-587,7
+587,7
@@
PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint32_t id,
s = (PCIBridge *)pci_register_device(bus, name, sizeof(PCIBridge),
devfn, NULL, pci_bridge_write_config);
s->dev.config[0x00] = id >> 16;
- s->dev.config[0x01] = id > 24;
+ s->dev.config[0x01] = id >
>
24;
s->dev.config[0x02] = id; // device_id
s->dev.config[0x03] = id >> 8;
s->dev.config[0x04] = 0x06; // command = bus master, pci mem