VirtualBox

Ignore:
Timestamp:
Feb 14, 2008 9:03:24 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28140
Message:

added support for E1000 to VBoxManage

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk

    r6759 r6968  
    2525VBoxManage_DEFS       += $(if $(VBOX_WITH_VRDP),VBOX_VRDP,) \
    2626                         $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA,) \
    27                          $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE,)
     27                         $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE,) \
     28                         $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,)
    2829VBoxManage_SOURCES     = \
    2930        VBoxManage.cpp \
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r6858 r6968  
    333333                 "                                     <filename>|host:<drive>]\n"
    334334                 "                            [-nic<1-N> none|null|nat|hostif|intnet]\n"
    335                  "                            [-nictype<1-N> Am79C970A|Am79C973]\n"
     335                 "                            [-nictype<1-N> Am79C970A|Am79C973"
     336#ifdef VBOX_WITH_E1000
     337                                                                              "|82540EM"
     338#endif
     339                 "]\n"
    336340                 "                            [-cableconnected<1-N> on|off]\n"
    337341                 "                            [-nictrace<1-N> on|off]\n"
     
    12771281                    strNICType = "Am79C973";
    12781282                    break;
     1283#ifdef VBOX_WITH_E1000
     1284                case NetworkAdapterType_NetworkAdapter82540EM:
     1285                    strNICType = "82540EM";
     1286                    break;
     1287#endif
    12791288                default:
    12801289                    strNICType = "unknown";
     
    49514960                    CHECK_ERROR_RET(nic, COMSETTER(AdapterType)(NetworkAdapterType_NetworkAdapterAm79C973), 1);
    49524961                }
     4962#ifdef VBOX_WITH_E1000
     4963                else if (strcmp(nictype[n], "82540EM") == 0)
     4964                {
     4965                    CHECK_ERROR_RET(nic, COMSETTER(AdapterType)(NetworkAdapterType_NetworkAdapter82540EM), 1);
     4966                }
     4967#endif
    49534968                else
    49544969                {
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