VirtualBox

Ignore:
Timestamp:
Feb 18, 2009 9:34:10 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42992
Message:

Solaris/VBoxNetAdp: removed dead code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c

    r16870 r16880  
    6464#define VBOXNETADP_MTU           1500
    6565
    66 static int VBoxNetAdpSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pArg, void **ppResult);
    6766static int VBoxNetAdpSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd);
    6867static int VBoxNetAdpSolarisDetach(dev_info_t *pDip, ddi_detach_cmd_t enmCmd);
     
    441440
    442441
    443 /**
    444  * Info entry point, called by solaris kernel for obtaining driver info.
    445  *
    446  * @param   pDip            The module structure instance (do not use).
    447  * @param   enmCmd          Information request type.
    448  * @param   pvArg           Type specific argument.
    449  * @param   ppvResult       Where to store the requested info.
    450  *
    451  * @returns  corresponding solaris error code.
    452  */
    453 static int VBoxNetAdpSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pvArg, void **ppResult)
    454 {
    455     LogFlow((DEVICE_NAME ":VBoxNetAdpSolarisGetInfo pDip=%p enmCmd=%d pArg=%p instance=%d\n", pDip, enmCmd,
    456                 getminor((dev_t)pvArg)));
    457 
    458     switch (enmCmd)
    459     {
    460         case DDI_INFO_DEVT2DEVINFO:
    461         {
    462             *ppResult = g_pVBoxNetAdpSolarisDip;
    463             return DDI_SUCCESS;
    464         }
    465 
    466         case DDI_INFO_DEVT2INSTANCE:
    467         {
    468             int instance = getminor((dev_t)pvArg);
    469             *ppResult = (void *)(uintptr_t)instance;
    470             return DDI_SUCCESS;
    471         }
    472     }
    473 
    474     return DDI_FAILURE;
    475 }
    476 
    477 
    478442static int vboxNetAdpSolarisGenerateMac(PRTMAC pMac)
    479443{
     
    511475static int vboxNetAdpSolarisSend(gld_mac_info_t *pMacInfo, mblk_t *pMsg)
    512476{
    513 
     477    return GLD_SUCCESS;
    514478}
    515479
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette