porting serial (SERIAL2)