diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-06-26 16:17:27 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-07-17 18:47:34 +0300 |
commit | 33d5ad53c1039989c4ecf583ed52a584d3888495 (patch) | |
tree | 867d245da29ce9b0c2c4a00c371c7cc0f0c1761a /hw/xen_platform.c | |
parent | c1be973ae1135588ed77b365bfd3bf063bac78ae (diff) |
pci_ids: tweak names to match linux/pci_ids.h
Sync xen names to ones used by linux. Add
xen platform device id as well.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/xen_platform.c')
-rw-r--r-- | hw/xen_platform.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xen_platform.c b/hw/xen_platform.c index b167eee1ff..9a01735d31 100644 --- a/hw/xen_platform.c +++ b/hw/xen_platform.c @@ -290,10 +290,10 @@ static int xen_platform_initfn(PCIDevice *dev) pci_conf = d->pci_dev.config; - pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_XENSOURCE); - pci_config_set_device_id(pci_conf, 0x0001); - pci_set_word(pci_conf + PCI_SUBSYSTEM_VENDOR_ID, PCI_VENDOR_ID_XENSOURCE); - pci_set_word(pci_conf + PCI_SUBSYSTEM_ID, 0x0001); + pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_XEN); + pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_XEN_PLATFORM); + pci_set_word(pci_conf + PCI_SUBSYSTEM_VENDOR_ID, PCI_VENDOR_ID_XEN); + pci_set_word(pci_conf + PCI_SUBSYSTEM_ID, PCI_DEVICE_ID_XEN_PLATFORM); pci_set_word(pci_conf + PCI_COMMAND, PCI_COMMAND_IO | PCI_COMMAND_MEMORY); |