VirtualBox

Changeset 13530 in vbox


Ignore:
Timestamp:
Oct 23, 2008 11:33:30 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38372
Message:

Solaris/vboxdrv: Added version and svn revision numbers into easily visible module description.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r13435 r13530  
    397397#vboxdrv_DEFS         += VBOX_WITH_NETFLT
    398398#endif
     399vboxdrv_DEFS         += VBOX_SVN_REV=$(VBOX_SVN_REV)
     400vboxdrv_DEPS         += $(VBOX_SVN_REV_KMK)
    399401vboxdrv_INCS         := $(PATH_SUB_CURRENT)
    400402vboxdrv_LIBS          = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r12808 r13530  
    5151#include "../SUPDrvInternal.h"
    5252#include <VBox/log.h>
     53#include <VBox/version.h>
    5354#include <iprt/semaphore.h>
    5455#include <iprt/spinlock.h>
     
    6465*   Defined Constants And Macros                                               *
    6566*******************************************************************************/
     67#define _QUOTE2(x) #x
     68#define QUOTE(x) _QUOTE2(x)
    6669/** The module name. */
    6770#define DEVICE_NAME              "vboxdrv"
    6871/** The module description as seen in 'modinfo'. */
    69 #define DEVICE_DESC              "VirtualBox Host Driver"
     72#define DEVICE_DESC              "VirtualBox Driver"
    7073/** Maximum number of driver instances. */
    7174#define DEVICE_MAXINSTANCES      16
     
    138141{
    139142    &mod_driverops,         /* extern from kernel */
    140     DEVICE_DESC,
     143    DEVICE_DESC " " VBOX_VERSION_STRING "r" QUOTE(VBOX_SVN_REV),
    141144    &g_VBoxDrvSolarisDevOps
    142145};
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