Patch from Eric Norum to switch to termios callback structure, add support for device driver support on tcsetattr(), and hardware flow control callbacks.