- Timestamp:
- Aug 15, 2016 11:18:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp
r62490 r63514 124 124 /*.d_mmap = */eno_mmap, 125 125 /*.d_strategy = */eno_strat, 126 /*.d_getc = */ eno_getc,127 /*.d_putc = */ eno_putc,126 /*.d_getc = */(void *)(uintptr_t)&enodev, //eno_getc, 127 /*.d_putc = */(void *)(uintptr_t)&enodev, //eno_putc, 128 128 /*.d_type = */0 129 129 }; … … 304 304 void vboxNetAdpOsDestroy(PVBOXNETADP pThis) 305 305 { 306 u_int32_t i;307 306 /* Bring down the interface */ 308 307 int rc = VINF_SUCCESS; … … 344 343 static int VBoxNetAdpDarwinOpen(dev_t Dev, int fFlags, int fDevType, struct proc *pProcess) 345 344 { 345 RT_NOREF(Dev, fFlags, fDevType, pProcess); 346 #ifdef LOG_ENABLED 346 347 char szName[128]; 347 348 szName[0] = '\0'; 348 349 proc_name(proc_pid(pProcess), szName, sizeof(szName)); 349 350 Log(("VBoxNetAdpDarwinOpen: pid=%d '%s'\n", proc_pid(pProcess), szName)); 351 #endif 350 352 return 0; 351 353 } … … 356 358 static int VBoxNetAdpDarwinClose(dev_t Dev, int fFlags, int fDevType, struct proc *pProcess) 357 359 { 360 RT_NOREF(Dev, fFlags, fDevType, pProcess); 358 361 Log(("VBoxNetAdpDarwinClose: pid=%d\n", proc_pid(pProcess))); 359 362 return 0; … … 372 375 static int VBoxNetAdpDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess) 373 376 { 377 RT_NOREF(Dev, fFlags, pProcess); 374 378 uint32_t cbReq = IOCPARM_LEN(iCmd); 375 379 PVBOXNETADPREQ pReq = (PVBOXNETADPREQ)pData; … … 440 444 static kern_return_t VBoxNetAdpDarwinStart(struct kmod_info *pKModInfo, void *pvData) 441 445 { 446 RT_NOREF(pKModInfo, pvData); 442 447 int rc; 443 448 … … 492 497 static kern_return_t VBoxNetAdpDarwinStop(struct kmod_info *pKModInfo, void *pvData) 493 498 { 499 RT_NOREF(pKModInfo, pvData); 494 500 Log(("VBoxNetAdpDarwinStop\n")); 495 501
Note:
See TracChangeset
for help on using the changeset viewer.