VirtualBox

Changeset 17025 in vbox


Ignore:
Timestamp:
Feb 23, 2009 3:17:24 PM (16 years ago)
Author:
vboxsync
Message:

VBoxNetAdp: Build fix and other bits.

Location:
trunk/src/VBox/HostDrivers/VBoxNetAdp
Files:
4 edited

Legend:

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

    r16976 r17025  
    3737VBoxNetAdp_DEFS             = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV) IN_SUP_STATIC
    3838VBoxNetAdp_LDFLAGS.darwin   = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
    39 VBoxNetAdp_LDFLAGS.solaris += -N misc/gld
     39VBoxNetAdp_LDFLAGS.solaris += -N misc/gld -N drv/vboxdrv
    4040VBoxNetAdp_INCS             = \
    4141        .
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c

    r16978 r17025  
    3535#include <iprt/uuid.h>
    3636
     37#ifndef RT_OS_SOLARIS
    3738#include <net/ethernet.h>
    3839#include <net/if_ether.h>
     
    4344#include <sys/errno.h>
    4445#include <sys/param.h>
     46#endif
    4547
    4648
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c

    r16943 r17025  
    55
    66/*
    7  * Copyright (C) 2008 Sun Microsystems, Inc.
     7 * Copyright (C) 2009 Sun Microsystems, Inc.
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5252#include <sys/gld.h>
    5353
     54#include "../VBoxNetAdpInternal.h"
    5455
    5556/*******************************************************************************
     
    6566static int VBoxNetAdpSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd);
    6667static int VBoxNetAdpSolarisDetach(dev_info_t *pDip, ddi_detach_cmd_t enmCmd);
    67 
    68 static int VBoxNetAdpSolarisModOpen(queue_t *pQueue, dev_t *pDev, int fFile, int fStream, cred_t *pCred);
    69 static int VBoxNetAdpSolarisModClose(queue_t *pQueue, int fFile, cred_t *pCred);
    70 static int VBoxNetAdpSolarisModReadPut(queue_t *pQueue, mblk_t *pMsg);
    71 static int VBoxNetAdpSolarisModWritePut(queue_t *pQueue, mblk_t *pMsg);
    72 static int VBoxNetAdpSolarisModWriteService(queue_t *pQueue);
    7368
    7469/**
     
    404399                    if (rc == DDI_SUCCESS)
    405400                    {
     401                        gld_mac_free(pMacInfo);
    406402                        RTMemFree(pState);
    407                         gld_mac_free(pMacInfo);
    408403                        return DDI_SUCCESS;
    409404                    }
     
    464459static int vboxNetAdpSolarisStub(gld_mac_info_t *pMacInfo)
    465460{
    466     NOREF(pMacInfo);
    467461    return GLD_SUCCESS;
    468462}
     
    471465static int vboxNetAdpSolarisSetMulticast(gld_mac_info_t *pMacInfo, unsigned char *pMulticastAddr, int fMulticast)
    472466{
    473     NOREF(pMacInfo);
    474     NOREF(pMulticastAddr);
    475     NOREF(fMulticast);
    476467    return GLD_SUCCESS;
    477468}
     
    480471static int vboxNetAdpSolarisSetPromisc(gld_mac_info_t *pMacInfo, int fPromisc)
    481472{
    482     NOREF(pMacInfo);
    483     NOREF(fPromisc);
     473    /* Host requesting promiscuous intnet connection... */
    484474    return GLD_SUCCESS;
    485475}
    486476
     477
     478int vboxNetAdpOsConnectIt(PVBOXNETADP pThis)
     479{
     480    /* Nothing to do here. */
     481    return VINF_SUCCESS;
     482}
     483
     484
     485int vboxNetAdpOsCreate(PVBOXNETADP pThis, PCRTMAC pMACAddress)
     486{
     487    /* Nothing to do here. */
     488    return VINF_SUCCESS;
     489}
     490
     491
     492void vboxNetAdpOsDestroy(PVBOXNETADP pThis)
     493{
     494    /* Nothing to do here. */
     495}
     496
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/vboxnet.conf

    r16848 r17025  
    33# Solaris Host VBoxNet Configuration
    44#
    5 # Copyright (C) 2008 Sun Microsystems, Inc.
     5# Copyright (C) 2009 Sun Microsystems, Inc.
    66#
    77# This file is part of VirtualBox Open Source Edition (OSE), as
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