It sounds like if we have a second file in include/ola/io/ for non-standard serial, with asm/termios.h, the code would all still work and wouldn't cause future problems with extra platform-independant code? Because that code isn't specific to the UART plugin, it's generic code to set non-standard baud rates, it would be good to get it into the main libraries rather than just in this plugin. We can always ifdef against it compiling on other platforms, and return an error if they try to use it.

Someone may want to run something weird like BSD on their Pi, and then may choose to get this to work, which then makes the plugin, and another other plugins using the code just start working.