[PC-BSD Commits] r19392 - pcbsd/current/src-qt4/pc-mounttray

svn at pcbsd.org svn at pcbsd.org
Wed Sep 19 09:45:28 PDT 2012


Author: kenmoore
Date: 2012-09-19 16:45:28 +0000 (Wed, 19 Sep 2012)
New Revision: 19392

Modified:
   pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp
Log:
Add support for mmcsd devices and give them a new device type: SD



Modified: pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp	2012-09-19 15:59:42 UTC (rev 19391)
+++ pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp	2012-09-19 16:45:28 UTC (rev 19392)
@@ -540,6 +540,7 @@
       cdev = line.section("cdev=",1,1).section(" ",0,0).simplified();
       //Only recognize certain device types (mass storage devices)
       if(cdev.startsWith("da")){  cdevtype="USB"; }
+      else if(cdev.startsWith("mmcsd")){ cdevtype="SD"; }
       else if(cdev.startsWith("ad")){ cdevtype="SATA"; }
       else if(cdev.startsWith("cd") || cdev.startsWith("acd")){ cdevtype="CD9660"; }
       else{ cdevtype.clear(); }



More information about the Commits mailing list