removed debug and add ide-host
[enigma2.git] / lib / python / Components / Harddisk.py
index dcf7657..a638977 100644 (file)
@@ -25,11 +25,17 @@ class Harddisk:
                return self.index
 
        def bus(self):
-               #TODO: add the host
+               ret = ""
+
+               if self.index & 2:
+                       ret = "External (CF) - "
+               else:
+                       ret = "Internal - "
+               
                if self.index & 1:
-                       return "Slave"
+                       return ret + "Slave"
                else:
-                       return "Master"
+                       return ret + "Master"
 
        def capacity(self):
                procfile = tryOpen(self.prochdx + "capacity")