- Timestamp:
- Oct 6, 2010 7:27:46 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66418
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r32931 r32932 2006 2006 2007 2007 /* 2008 * Check for removable mediainstead of "SCSI" so that we also include USB CD-ROMs.2008 * Check for "removable-media" or "hotpluggable" instead of "SCSI" so that we also include USB CD-ROMs. 2009 2009 * As unfortunately the Solaris drivers only export these common properties. 2010 2010 */ 2011 2011 int *pInt = NULL; 2012 if ( di_prop_lookup_ints(DDI_DEV_T_ANY, Node, "removable-media", &pInt) > 02013 && *pInt == 1) /* Removable Media */2012 if ( di_prop_lookup_ints(DDI_DEV_T_ANY, Node, "removable-media", &pInt) >= 0 2013 || di_prop_lookup_ints(DDI_DEV_T_ANY, Node, "hotpluggable", &pInt) >= 0) 2014 2014 { 2015 2015 if (di_prop_lookup_ints(DDI_DEV_T_ANY, Node, "inquiry-device-type", &pInt) > 0
Note:
See TracChangeset
for help on using the changeset viewer.