smartbus: direct serial port access support.
smartbus: fix missed writes.

Make it so the data is written to serial port in single write() syscall.