VirtualBox

Changeset 37752 in vbox for trunk


Ignore:
Timestamp:
Jul 4, 2011 10:02:23 AM (13 years ago)
Author:
vboxsync
Message:

fix USB 2.0 for OSE builds

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r37718 r37752  
    409409ifdef VBOX_WITH_USB
    410410 VBOX_WITH_VUSB = 1
     411endif
     412ifdef VBOX_WITH_EHCI
     413 VBOX_WITH_EHCI_IMPL = 1
    411414endif
    412415# Enable the hal/sysfs USB code on Linux.
     
    921924ifdef VBOX_OSE
    922925 VBOX_WITH_VRDP=
    923  VBOX_WITH_EHCI=
     926 VBOX_WITH_EHCI_IMPL=
    924927 VBOX_WITH_EXTPACK_PUEL=
    925928 VBOX_WITH_PCI_PASSTHROUGH=
  • trunk/src/VBox/Devices/Makefile.kmk

    r37477 r37752  
    5858  VBoxDDU_DEFS           += VBOX_WITH_USB IN_USBLIB
    5959  VBoxDDU_SDKS.win        = WINPSDK W2K3DDK
    60   if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
    61    VBoxDDU_DEFS          += VBOX_WITH_EHCI
     60  if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     61   VBoxDDU_DEFS          += VBOX_WITH_EHCI_IMPL
    6262  endif
    6363  ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
     
    123123 ifdef VBOX_WITH_USB
    124124  VBoxDD_DEFS           += VBOX_WITH_USB
    125   if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
    126    VBoxDD_DEFS          += VBOX_WITH_EHCI
     125  if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     126   VBoxDD_DEFS          += VBOX_WITH_EHCI_IMPL
    127127  endif
    128128 endif
     
    449449 ifdef VBOX_WITH_USB
    450450  DevicesR3_DEFS        += VBOX_WITH_USB
    451   if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
    452    DevicesR3_DEFS       += VBOX_WITH_EHCI
     451  if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     452   DevicesR3_DEFS       += VBOX_WITH_EHCI_IMPL
    453453   DevicesR3_SOURCES    += \
    454454        USB/DevEHCI.cpp
     
    604604  ifdef VBOX_WITH_USB
    605605   VBoxDDGC_DEFS        += VBOX_WITH_USB
    606    if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
    607     VBoxDDGC_DEFS       += VBOX_WITH_EHCI
     606   if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     607    VBoxDDGC_DEFS       += VBOX_WITH_EHCI_IMPL
    608608    VBoxDDGC_SOURCES    += \
    609609        USB/DevEHCI.cpp
     
    709709 ifdef VBOX_WITH_USB
    710710 VBoxDDR0_DEFS          += VBOX_WITH_USB
    711   if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
    712    VBoxDDR0_DEFS        += VBOX_WITH_EHCI
     711  if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     712   VBoxDDR0_DEFS        += VBOX_WITH_EHCI_IMPL
    713713   VBoxDDR0_SOURCES     += \
    714714        USB/DevEHCI.cpp
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r37198 r37752  
    133133        return rc;
    134134#endif
    135 #ifdef VBOX_WITH_EHCI
     135#ifdef VBOX_WITH_EHCI_IMPL
    136136    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceEHCI);
    137137    if (RT_FAILURE(rc))
  • trunk/src/VBox/Devices/testcase/Makefile.kmk

    r35885 r37752  
    2929        $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE,) \
    3030        $(if $(VBOX_WITH_USB),VBOX_WITH_USB,) \
    31         $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI,) \
     31        $(if $(VBOX_WITH_EHCI_IMPL),VBOX_WITH_EHCI_IMPL,) \
    3232        $(if $(VBOX_WITH_AHCI),VBOX_WITH_AHCI,) \
    3333        $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r37477 r37752  
    6868# undef LOG_GROUP
    6969# include "../USB/DevOHCI.cpp"
    70 # ifdef VBOX_WITH_EHCI
     70# ifdef VBOX_WITH_EHCI_IMPL
    7171#  include "../USB/DevEHCI.cpp"
    7272# endif
     
    285285    //CHECK_MEMBER_ALIGNMENT(E1KSTATE, csTx, 8);
    286286#ifdef VBOX_WITH_USB
    287 # ifdef VBOX_WITH_EHCI
     287# ifdef VBOX_WITH_EHCI_IMPL
    288288    CHECK_MEMBER_ALIGNMENT(EHCI, RootHub, 8);
    289289#  ifdef VBOX_WITH_STATISTICS
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp

    r37540 r37752  
    6363# undef LOG_GROUP
    6464# include "../USB/DevOHCI.cpp"
    65 # ifdef VBOX_WITH_EHCI
     65# ifdef VBOX_WITH_EHCI_IMPL
    6666#  include "../USB/DevEHCI.cpp"
    6767# endif
     
    929929    GEN_CHECK_OFF(OHCI, StatTimer);
    930930# endif
    931 # ifdef VBOX_WITH_EHCI
     931# ifdef VBOX_WITH_EHCI_IMPL
    932932    /* USB/DevEHCI.cpp */
    933933    GEN_CHECK_SIZE(EHCIHUBPORT);
     
    10061006    GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncR3);
    10071007    GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncR0);
    1008 # endif /* VBOX_WITH_EHCI */
     1008# endif /* VBOX_WITH_EHCI_IMPL */
    10091009#endif /* VBOX_WITH_USB */
    10101010
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