Some serial constants replaced by sys/unix package

This commit is contained in:
Cristian Maglie
2017-03-12 21:23:58 +01:00
parent 8b7629bfe1
commit 4cc831e192

View File

@@ -55,10 +55,10 @@ var databitsMap = map[int]uint32{
8: unix.CS8, 8: unix.CS8,
} }
const tcCMSPAR uint32 = 0 // may be CMSPAR or PAREXT const tcCMSPAR = unix.CMSPAR
const tcIUCLC = unix.IUCLC const tcIUCLC = unix.IUCLC
const tcCRTSCTS uint32 = 0x80000000 const tcCRTSCTS uint32 = unix.CRTSCTS
const ioctlTcgetattr = unix.TCGETS const ioctlTcgetattr = unix.TCGETS
const ioctlTcsetattr = unix.TCSETS const ioctlTcsetattr = unix.TCSETS