VirtualBox

Ignore:
Timestamp:
May 16, 2008 9:41:07 AM (17 years ago)
Author:
vboxsync
Message:

FE/Qt: Set e1k network card as default in solaris & opensolaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewVMWzd.ui.h

    r8788 r8875  
    342342    {
    343343        CNetworkAdapter cadapter = cmachine.GetNetworkAdapter (0);
     344#ifdef VBOX_WITH_E1000
     345        /* Default to e1k on solaris */
     346        if (type.GetId() == "solaris" ||
     347            type.GetId() == "opensolaris")
     348            cadapter.SetAdapterType (KNetworkAdapterType_I82540EM);
     349#endif /* VBOX_WITH_E1000 */
    344350        cadapter.SetEnabled (true);
    345351        cadapter.AttachToNAT();
    346352        cadapter.SetMACAddress (QString::null);
    347353        cadapter.SetCableConnected (true);
     354
    348355    }
    349356
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