Changeset 6883 in vbox
- Timestamp:
- Feb 11, 2008 7:52:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r6412 r6883 183 183 int _init(void) 184 184 { 185 cmn_err(CE_CONT, "VBoxDrvSolaris _init");185 dprintf(("VBoxDrvSolaris _init")); 186 186 187 187 int rc = ddi_soft_state_init(&g_pVBoxDrvSolarisState, sizeof(vbox_devstate_t), 8); … … 202 202 int _fini(void) 203 203 { 204 cmn_err(CE_CONT, "VBoxDrvSolaris _fini");204 dprintf(("VBoxDrvSolaris _fini")); 205 205 206 206 int e = mod_remove(&g_VBoxDrvSolarisModLinkage); … … 215 215 int _info(struct modinfo *pModInfo) 216 216 { 217 cmn_err(CE_CONT, "VBoxDrvSolaris _info");217 dprintf(("VBoxDrvSolaris _info")); 218 218 int e = mod_info(&g_VBoxDrvSolarisModLinkage, pModInfo); 219 cmn_err(CE_CONT, "VBoxDrvSolaris _info returns %d", e);219 dprintf(("VBoxDrvSolaris _info returns %d", e)); 220 220 return e; 221 221 } … … 232 232 static int VBoxDrvSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd) 233 233 { 234 cmn_err(CE_CONT, "VBoxDrvSolarisAttach");234 dprintf(("VBoxDrvSolarisAttach")); 235 235 236 236 switch (enmCmd) … … 335 335 336 336 337 cmn_err(CE_CONT, "VBoxDrvSolarisDetach");337 dprintf(("VBoxDrvSolarisDetach")); 338 338 switch (enmCmd) 339 339 { … … 358 358 359 359 memset(&g_DevExt, 0, sizeof(g_DevExt)); 360 cmn_err(CE_CONT, "VBoxDrvSolarisDetach: Clean Up Done.");360 dprintf(("VBoxDrvSolarisDetach: Clean Up Done.")); 361 361 return DDI_SUCCESS; 362 362 } … … 454 454 g_apSessionHashTab[iHash] = pSession; 455 455 RTSpinlockReleaseNoInts(g_Spinlock, &Tmp); 456 cmn_err(CE_NOTE,"VBoxDrvSolarisOpen success");456 OSDBGPRINT(("VBoxDrvSolarisOpen success")); 457 457 } 458 458 … … 560 560 static int VBoxDrvSolarisRead(dev_t Dev, struct uio *pUio, cred_t *pCred) 561 561 { 562 cmn_err(CE_CONT, "VBoxDrvSolarisRead");562 dprintf(("VBoxDrvSolarisRead")); 563 563 return 0; 564 564 } … … 567 567 static int VBoxDrvSolarisWrite(dev_t Dev, struct uio *pUio, cred_t *pCred) 568 568 { 569 cmn_err(CE_CONT, "VBoxDrvSolarisWrite");569 dprintf(("VBoxDrvSolarisWrite")); 570 570 return 0; 571 571 }
Note:
See TracChangeset
for help on using the changeset viewer.