Skip to content

Commit 3d459df

Browse files
rarindamwenlingz
authored andcommitted
DM: Fix minor issue of USB vendor ID
Provide a minor fix for following issue: Emulated USB controller Vendor ID and Device ID are swapped. Tracked-On: #3053 Signed-off-by: Arindam Roy <arindam.roy@intel.com> Reviewed-by: Xu, Anthony <anthony.xu@intel.com>
1 parent 7e52067 commit 3d459df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devicemodel/hw/pci/xhci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4036,8 +4036,8 @@ pci_xhci_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)
40364036

40374037
xdev->excap_ptr = excap_group_dft;
40384038

4039-
xdev->vid = XHCI_PCI_DEVICE_ID_DFLT;
4040-
xdev->pid = XHCI_PCI_VENDOR_ID_DFLT;
4039+
xdev->vid = XHCI_PCI_VENDOR_ID_DFLT;
4040+
xdev->pid = XHCI_PCI_DEVICE_ID_DFLT;
40414041

40424042
xdev->rtsregs.mfindex = 0;
40434043
clock_gettime(CLOCK_MONOTONIC, &xdev->mf_prev_time);

0 commit comments

Comments
 (0)