1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
b601136f56 stripped trailing whitespace 2016-12-16 10:29:20 +01:00
35e40193af Work around GLIBC issue for powerpc. Only for USE_CUSTOM_BAUD.
For powerpc the termios ioctl numbers are defined with reference to the
argument-structure size. This structure must be the one expected by the
kernel (kernel termios) not the one defined by GLIBC (in
termios.h). Work around this by defining ioctl numbers with reference
to the privately defined termios2 structure.

Applies only to Linux/PowePC, and only if USE_CUSTOM_BAUD is enabled.
2015-09-18 10:50:07 +03:00
a65e9e1e3a USE_CUSTOM_BAUD support for linux/powerpc[64le].
The powerpc[64le] arch uses different ioctls for custom baud setting: It
uses the old TCSETS*, TCGETS ioctls, not the new TCSETS*2, TCGETS2 ones.

Cross-compiles cleanly, not tested (no h/w currently available).
2015-08-27 23:22:56 +03:00
495d142467 Cleaned-up and reordered architecture conditionals + comments. 2015-08-20 00:47:58 +03:00
6642a7f1f2 Moved definition of termios2 struct and related macros to termbits2.h
Also: Fill the user-space termios structure's "c_cc[]" slots beyond
K_NCCS with _POSIX_VDISABLE.
2015-08-19 09:45:40 +03:00