diff options
| author | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-08-30 23:37:28 +0000 |
|---|---|---|
| committer | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-08-30 23:37:28 +0000 |
| commit | f47d06efc863945909f6095eae5d88c755168fd6 (patch) | |
| tree | ee2600646037707607660589595b28c0ff9fd0da /lib/python/Components/Harddisk.py | |
| parent | 78950dbe85f5eafb3adb817eef742654d1f84e5a (diff) | |
| download | enigma2-f47d06efc863945909f6095eae5d88c755168fd6.tar.gz enigma2-f47d06efc863945909f6095eae5d88c755168fd6.zip | |
removed debug and add ide-host
Diffstat (limited to 'lib/python/Components/Harddisk.py')
| -rw-r--r-- | lib/python/Components/Harddisk.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index dcf76570..a6389770 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -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") |
