[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] apb_pci: use pci_config_set_revision()
From: |
Sebastian Herbszt |
Subject: |
[Qemu-devel] [PATCH] apb_pci: use pci_config_set_revision() |
Date: |
Tue, 21 Dec 2010 12:05:38 +0100 |
Use pci_config_set_revision().
Signed-off-by: Sebastian Herbszt <address@hidden>
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index 84e9af7..97b3032 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -321,7 +321,7 @@ static int apb_pci_bridge_initfn(PCIDevice *dev)
pci_set_word(dev->config + PCI_STATUS,
PCI_STATUS_FAST_BACK | PCI_STATUS_66MHZ |
PCI_STATUS_DEVSEL_MEDIUM);
- pci_set_byte(dev->config + PCI_REVISION_ID, 0x11);
+ pci_config_set_revision(dev->config, 0x11);
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] apb_pci: use pci_config_set_revision(),
Sebastian Herbszt <=