Contributions are most welcome but it would be very much appreciated if you follow the following guidelines.
It's simply polite to match the style of the code you are contributing to. Code that does not follow the style will not be looked upon kindly. This code largely follows the Linux Kernel Style so please read that document and take heed of its wisdom.
This project uses Travis to check that it always builds on all the supported platforms. However, Microsemi's IT department stubbornly refuses (for silly reasons) to turn it on for the main repository. Therefore, in order to ensure your contributions get tested, please submit all pull requests to lsgunth/switchtec-user. From there we will ensure your contribution gets merged into the main repository.
- In the code, ensure to avoid accessing the GAS directly except in an appropriate platform file or a new command that calls switchtec_gas_map(). Also, be aware that on Linux, using the GAS directly requires full root privilages where as all other commands only require access to the device file.