Changeset 90873 in vbox
- Timestamp:
- Aug 25, 2021 11:29:33 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146508
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c
r90804 r90873 434 434 { 435 435 *ppvResult = g_pVBoxNetFltSolarisDip; 436 return DDI_SUCCESS;436 return *ppvResult ? DDI_SUCCESS : DDI_FAILURE; 437 437 } 438 438 439 439 case DDI_INFO_DEVT2INSTANCE: 440 440 { 441 int instance = getminor((dev_t)pvArg);442 *ppvResult = (void *) (uintptr_t)instance;443 return DDI_SUCCESS;441 /* There can only be a single-instance of this driver and thus its instance number is 0. */ 442 *ppvResult = (void *)0; 443 break; 444 444 } 445 445 }
Note:
See TracChangeset
for help on using the changeset viewer.