From: Michael Tremer Date: Sun, 26 Dec 2010 21:36:36 +0000 (+0100) Subject: Unify device class names. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc19cabd416c076607d096cb174baee1a321f5f8;p=ipfire.org.git Unify device class names. --- diff --git a/www/webapp/backend/stasy.py b/www/webapp/backend/stasy.py index 26a241bc..808ffddd 100644 --- a/www/webapp/backend/stasy.py +++ b/www/webapp/backend/stasy.py @@ -86,7 +86,7 @@ class ProfileDevice(ProfileDict): classid2name = { "pci" : { - "00" : "unclassified", + "00" : "Unclassified", "01" : "Mass storage", "02" : "Network", "03" : "Display", @@ -102,31 +102,31 @@ class ProfileDevice(ProfileDict): "0d" : "Wireless", "0e" : "Intelligent controller", "0f" : "Satellite communications controller", - "10" : "Encryption controller", + "10" : "Encryption", "11" : "Signal processing controller", "ff" : "Unassigned class", }, "usb" : { - "00" : "???", + "00" : "Unclassified", "01" : "Multimedia", "02" : "Communication", "03" : "Input device", - "05" : "Physical ???", - "06" : "Image ???", + "05" : "Generic system peripheral", + "06" : "Image", "07" : "Printer", "08" : "Mass storage", "09" : "Hub", - "0a" : "CDC-Data ???", - "0b" : "Smart card ???", - "0d" : "Content Security ???", + "0a" : "Communication", + "0b" : "Smart card", + "0d" : "Encryption", "0e" : "Display", - "0f" : "Personal healthcare ???", + "0f" : "Personal Healthcare", "dc" : "Diagnostic Device", "e0" : "Wireless", - "ef" : "Misc", - "fe" : "Application specific ???", - "ff" : "Vendor specific ???", + "ef" : "Unclassified", + "fe" : "Unclassified", + "ff" : "Unclassified", } }