VirtualBox

Changeset 53031 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Oct 10, 2014 3:39:49 PM (10 years ago)
Author:
vboxsync
Message:

USB: Connecting the dots.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp

    r51290 r53031  
    121121        return VERR_INVALID_PARAMETER;
    122122    }
    123     AssertMsgReturn(!(fVersions & ~(VUSB_STDVER_11 | VUSB_STDVER_20)), ("%#x\n", fVersions), VERR_INVALID_PARAMETER);
     123    AssertMsgReturn(!(fVersions & ~(VUSB_STDVER_11 | VUSB_STDVER_20 | VUSB_STDVER_30)), ("%#x\n", fVersions), VERR_INVALID_PARAMETER);
    124124    AssertPtrReturn(ppUsbHubHlp, VERR_INVALID_POINTER);
    125125    AssertPtrReturn(pUsbHubReg, VERR_INVALID_POINTER);
     
    963963    AssertPtrReturn(pUuid, VERR_INVALID_POINTER);
    964964    AssertPtrReturn(pszAddress, VERR_INVALID_POINTER);
    965     AssertReturn(    iUsbVersion == VUSB_STDVER_20
     965    AssertReturn(    iUsbVersion == VUSB_STDVER_30
     966                 ||  iUsbVersion == VUSB_STDVER_20
    966967                 ||  iUsbVersion == VUSB_STDVER_11, VERR_INVALID_PARAMETER);
    967968
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette