Changeset 17025 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris
- Timestamp:
- Feb 23, 2009 3:17:24 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43228
- Location:
- trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c
r16943 r17025 5 5 6 6 /* 7 * Copyright (C) 200 8Sun Microsystems, Inc.7 * Copyright (C) 2009 Sun Microsystems, Inc. 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 52 52 #include <sys/gld.h> 53 53 54 #include "../VBoxNetAdpInternal.h" 54 55 55 56 /******************************************************************************* … … 65 66 static int VBoxNetAdpSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd); 66 67 static 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);73 68 74 69 /** … … 404 399 if (rc == DDI_SUCCESS) 405 400 { 401 gld_mac_free(pMacInfo); 406 402 RTMemFree(pState); 407 gld_mac_free(pMacInfo);408 403 return DDI_SUCCESS; 409 404 } … … 464 459 static int vboxNetAdpSolarisStub(gld_mac_info_t *pMacInfo) 465 460 { 466 NOREF(pMacInfo);467 461 return GLD_SUCCESS; 468 462 } … … 471 465 static int vboxNetAdpSolarisSetMulticast(gld_mac_info_t *pMacInfo, unsigned char *pMulticastAddr, int fMulticast) 472 466 { 473 NOREF(pMacInfo);474 NOREF(pMulticastAddr);475 NOREF(fMulticast);476 467 return GLD_SUCCESS; 477 468 } … … 480 471 static int vboxNetAdpSolarisSetPromisc(gld_mac_info_t *pMacInfo, int fPromisc) 481 472 { 482 NOREF(pMacInfo); 483 NOREF(fPromisc); 473 /* Host requesting promiscuous intnet connection... */ 484 474 return GLD_SUCCESS; 485 475 } 486 476 477 478 int vboxNetAdpOsConnectIt(PVBOXNETADP pThis) 479 { 480 /* Nothing to do here. */ 481 return VINF_SUCCESS; 482 } 483 484 485 int vboxNetAdpOsCreate(PVBOXNETADP pThis, PCRTMAC pMACAddress) 486 { 487 /* Nothing to do here. */ 488 return VINF_SUCCESS; 489 } 490 491 492 void vboxNetAdpOsDestroy(PVBOXNETADP pThis) 493 { 494 /* Nothing to do here. */ 495 } 496 -
trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/vboxnet.conf
r16848 r17025 3 3 # Solaris Host VBoxNet Configuration 4 4 # 5 # Copyright (C) 200 8Sun Microsystems, Inc.5 # Copyright (C) 2009 Sun Microsystems, Inc. 6 6 # 7 7 # This file is part of VirtualBox Open Source Edition (OSE), as
Note:
See TracChangeset
for help on using the changeset viewer.