summaryrefslogtreecommitdiff
path: root/arch/mipsn32/bits/termios.h
AgeCommit message (Collapse)AuthorLines
2019-07-10fix conflicting mips and powerpc definitions for TIOCSER_TEMT macroSamuel Holland-1/+1
Commit 3517d74a5e04a377192d1f4882ad6c8dc22ce69a changed the token in sys/ioctl.h from 0x01 to 1, so bits/termios.h no longer matches. Revert the bits/termios.h change to keep the headers in sync. This reverts commit 9eda4dc69c33852c97c6f69176bf45ffc80b522f.
2018-03-10fix minor namespace issues in termios.hRich Felker-0/+2
the output delay features (NL*, CR*, TAB*, BS*, and VT*) are XSI-shaded. VT* is in the V* namespace reservation but the rest need to be suppressed in base POSIX namespace. unfortunately this change introduces feature test macro checks into another bits header. at some point these checks should be simplified by having features.h handle the "FTM X implies Y" relationships.
2018-02-22mips,powerpc: fix TIOCSER_TEMT in termios.hSzabolcs Nagy-1/+1
use the same token to define TIOCSER_TEMT as is used in ioctl.h so when both headers are included there are no redefinition warnings during musl build.
2016-07-13fix regression in tcsetattr on all mips archsRich Felker-3/+3
revert commit 8c316e9e49d37ad92c2e7493e16166a2afca419f. it was wrong and does not match how the kernel API works.
2016-07-03fix TCS* definitions in mips termios.hSzabolcs Nagy-3/+3
these were incorrectly using the generic definitions.
2016-07-03fix mips termios.h macro exposure/namespace issuesSzabolcs Nagy-15/+14
same changes to the defined macros as in powerpc and generic bits.
2016-07-03add consistent reserved fields in mips64/n32 termios structuresRich Felker-0/+2
the (unused) speed fields were omitted when these ports were first added (within this release cycle, so not present in any release yet) in accordance with how glibc defines the structure on mips archs. however their omission does not match existing musl practice/intent. glibc provides its own, mostly-unified termios structure definition and performs translation in userspace to match the kernel structure for the arch, but has gratuitous differences on a few archs like mips, presumably as a result of historical mistakes. some other libcs use the kernel definitions directly. musl essentially does that, by matching the kernel layout in the part of the structure the kernel will read/write, but leaves additional space at the end for extensibility. these are nominally the (nonstandard) speed fields and (on most archs) extra c_cc elements, but since they are not used they could be repurposed if there's ever a need.
2016-04-18add mips n32 port (ILP32 ABI for mips64)Rich Felker-0/+166
based on patch submitted by Jaydeep Patil, with minor changes.