libswitchhw: added more comments, removed old functions which were commented out or not used (nor planned to use)