VirtualBox

Changeset 21948 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Aug 3, 2009 4:59:09 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50635
Message:

Solaris/vboxdrv,vboxnet,vboxusbmon: fixed dependencies to vboxdrv.

Location:
trunk/src/VBox/HostDrivers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r21546 r21948  
    5454# include <iprt/net.h>
    5555# include <iprt/string.h>
     56# include <iprt/rand.h>
     57# include <iprt/path.h>
    5658#endif
    5759/* VBox/x86.h not compatible with the Linux kernel sources */
     
    480482PFNRT g_apfnVBoxDrvIPRTDeps[] =
    481483{
     484    /* VBoxNetFlt */
    482485    (PFNRT)RTCrc32,
    483486    (PFNRT)RTErrConvertFromErrno,
     
    490493    (PFNRT)RTStrDup,
    491494    (PFNRT)RTStrFree,
     495    /* VBoxNetAdp */
     496    (PFNRT)RTRandBytes,
     497    /* VBoxUSB */
     498    (PFNRT)RTPathStripFilename,
    492499    NULL
    493500};
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk

    r18973 r21948  
    5555#VBoxNetAdp_SOURCES          = \
    5656#       VBoxNetAdp.c
    57 VBoxNetAdp_LIBS.solaris    += \
    58         $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
    5957VBoxNetAdp_LIBS            += \
    6058        $(PATH_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c

    r21909 r21948  
    234234    if (RT_SUCCESS(rc))
    235235    {
    236         /*
    237          * Create the release logger instance.
    238          */
    239         static const char *const s_apszGroups[] = VBOX_LOGGROUP_NAMES;
    240         PRTLOGGER pRelLogger;
    241         rc = RTLogCreate(&pRelLogger, 0 /* fFlags */, "all", "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    242                         RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER, NULL);
    243         if (RT_SUCCESS(rc))
    244             RTLogRelSetDefaultInstance(pRelLogger);
    245 
    246236        rc = mod_install(&g_VBoxNetAdpSolarisModLinkage);
    247237        if (!rc)
     
    249239
    250240        LogRel((DEVICE_NAME ":mod_install failed. rc=%d\n", rc));
    251         RTLogDestroy(RTLogRelSetDefaultInstance(NULL));
    252         RTLogDestroy(RTLogSetDefaultInstance(NULL));
    253241        RTR0Term();
    254242    }
     
    268256     * Undo the work done during start (in reverse order).
    269257     */
    270     RTLogDestroy(RTLogRelSetDefaultInstance(NULL));
    271     RTLogDestroy(RTLogSetDefaultInstance(NULL));
    272258    RTR0Term();
    273259
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