[HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather than

just making one up.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
This commit is contained in:
Steven Smith committed 2006-09-21 11:15:13 +01:00
1 parent e158d6de5b
commit 5759c4fb6b
2 files changed
+7 -5

No files matched your search

+3 -3
View File
@@ -116,10 +116,10 @@ void pci_xen_platform_init(PCIBus *bus)
d = pci_register_device(bus, "xen-platform", sizeof(PCIDevice), -1, NULL,
NULL);
pch = (struct pci_config_header *)d->config;
pch->vendor_id = 0xfffd;
pch->device_id = 0x0101;
pch->vendor_id = 0x5853;
pch->device_id = 0x0001;
pch->command = 3; /* IO and memory access */
pch->revision = 0;
pch->revision = 1;
pch->api = 0;
pch->subclass = 0x80; /* Other */
pch->class = 0xff; /* Unclassified device class */
@@ -231,11 +231,13 @@ static int __devinit platform_pci_init(struct pci_dev *pdev,
return ret;
}
#define XEN_PLATFORM_VENDOR_ID 0xfffd
#define XEN_PLATFORM_DEVICE_ID 0x0101
#define XEN_PLATFORM_VENDOR_ID 0x5853
#define XEN_PLATFORM_DEVICE_ID 0x0001
static struct pci_device_id platform_pci_tbl[] __devinitdata = {
{XEN_PLATFORM_VENDOR_ID, XEN_PLATFORM_DEVICE_ID,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
/* Continue to recognise the old ID for now */
{0xfffd, 0x0101, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0,}
};
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.