Add q() macro that checks quiet flag.
Simplify port lock handling.
Start to move to data driven command parser.
Create single structure that describes device port.
Create struct port_set which contains a set of ports.
Refactor code into get_port_by_name().
Allow configuration commands to work in test mode.
In test mode print device info after commands are executed.