Serial port driver and it's example corrected