VirtualBox

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


Ignore:
Timestamp:
Dec 17, 2015 3:11:01 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104780
Message:

Solaris/USB: Take the easy way out for now.

Location:
trunk/src/VBox/HostDrivers/VBoxUSB/solaris
Files:
2 edited

Legend:

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

    r59154 r59176  
    696696                                                    if (RT_SUCCESS(rc))
    697697                                                    {
     698#if 0
    698699                                                        LogRel((DEVICE_NAME ": Captured %s %s (Ident=%s)\n", pState->szMfg,
    699700                                                                pState->szProduct, pState->ClientInfo.szDeviceIdent));
     701#else
     702                                                        /* Until IPRT R0 logging is fixed. See @bugref{6657#c7} */
     703                                                        cmn_err(CE_CONT, "Captured %s %s (Ident=%s)\n", pState->szMfg,
     704                                                                pState->szProduct, pState->ClientInfo.szDeviceIdent);
     705#endif
    700706                                                        return DDI_SUCCESS;
    701707                                                    }
     
    886892            ddi_remove_minor_node(pState->pDip, NULL);
    887893
     894#if 0
    888895            LogRel((DEVICE_NAME ": Released %s %s (Ident=%s)\n", pState->szMfg, pState->szProduct,
    889896                    pState->ClientInfo.szDeviceIdent));
     897#else
     898            /* Until IPRT R0 logging is fixed. See @bugref{6657#c7} */
     899            cmn_err(CE_CONT, "Released %s %s (Ident=%s)\n", pState->szMfg, pState->szProduct, pState->ClientInfo.szDeviceIdent);
     900#endif
    890901
    891902            ddi_soft_state_free(g_pVBoxUSBSolarisState, instance);
  • trunk/src/VBox/HostDrivers/VBoxUSB/solaris/VBoxUSBMon-solaris.c

    r59091 r59176  
    10281028
    10291029    *ppszDrv = ddi_strdup(VBOXUSB_DRIVER_NAME, KM_SLEEP);
     1030#if 0
    10301031    LogRel((DEVICE_NAME ": Capturing %s %s %#x:%#x:%s Bus=%d Port=%d\n",
    10311032            pDevStrings->usb_mfg ? pDevStrings->usb_mfg : "<Unknown Manufacturer>",
    10321033            pDevStrings->usb_product ? pDevStrings->usb_product : "<Unnamed USB device>",
    10331034            pDevDesc->idVendor, pDevDesc->idProduct, pszDevicePath, Bus, Port));
     1035#else
     1036    /* Until IPRT R0 logging is fixed. See @bugref{6657#c7} */
     1037    cmn_err(CE_CONT, "Capturing %s %s 0x%x:0x%x:%s Bus=%d Port=%d\n",
     1038            pDevStrings->usb_mfg ? pDevStrings->usb_mfg : "<Unknown Manufacturer>",
     1039            pDevStrings->usb_product ? pDevStrings->usb_product : "<Unnamed USB device>",
     1040            pDevDesc->idVendor, pDevDesc->idProduct, pszDevicePath, Bus, Port);
     1041#endif
    10341042    return USB_SUCCESS;
    10351043}
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