From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Support for musl libc in OpenWrt
Date: Fri, 23 Nov 2012 23:19:24 +0100 [thread overview]
Message-ID: <20121123221924.GA10895@port70.net> (raw)
In-Reply-To: <50AFD839.9010408@openwrt.org>
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
* Florian Fainelli <florian@openwrt.org> [2012-11-23 21:10:33 +0100]:
> - MIPS and MIPSel ports are not functionnal (details below)
attached a mips termios.h patch based on
linux/arch/mips/include/asm/termbits.h
i added some of the missing bits, i dont know if those are needed
[-- Attachment #2: mips_termio.diff --]
[-- Type: text/x-diff, Size: 1983 bytes --]
diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
index 9f6abd8..179af8e 100644
--- a/arch/mips/bits/termios.h
+++ b/arch/mips/bits/termios.h
@@ -14,19 +14,20 @@ struct termios
#define VQUIT 1
#define VERASE 2
#define VKILL 3
-#define VEOF 4
+#define VMIN 4
#define VTIME 5
-#define VMIN 6
+#define VEOL2 6
#define VSWTC 7
+#define VSWTCH 7
#define VSTART 8
#define VSTOP 9
#define VSUSP 10
-#define VEOL 11
#define VREPRINT 12
#define VDISCARD 13
#define VWERASE 14
#define VLNEXT 15
-#define VEOL2 16
+#define VEOF 16
+#define VEOL 17
#define IGNBRK 0000001
#define BRKINT 0000002
@@ -42,6 +43,7 @@ struct termios
#define IXANY 0004000
#define IXOFF 0010000
#define IMAXBEL 0020000
+#define IUTF8 0040000
#define OPOST 0000001
#define OLCUC 0000002
@@ -94,7 +96,10 @@ struct termios
#define B9600 0000015
#define B19200 0000016
#define B38400 0000017
+#define EXTA 0000016
+#define EXTB 0000017
+#define BOTHER 0010000
#define B57600 0010001
#define B115200 0010002
#define B230400 0010003
@@ -124,26 +129,32 @@ struct termios
#define PARODD 0001000
#define HUPCL 0002000
#define CLOCAL 0004000
+#define CBAUDEX 0010000
+#define CIBAUD 002003600000
+#define CMSPAR 010000000000
#define CRTSCTS 020000000000
+#define IBSHIFT 16
#define ISIG 0000001
#define ICANON 0000002
+#define XCASE 0000004
#define ECHO 0000010
#define ECHOE 0000020
#define ECHOK 0000040
#define ECHONL 0000100
#define NOFLSH 0000200
-#define TOSTOP 0000400
-#define IEXTEN 0100000
-
-/* Extensions? */
-#define CBAUDEX 0010000
+#define IEXTEN 0000400
#define ECHOCTL 0001000
#define ECHOPRT 0002000
#define ECHOKE 0004000
-#define FLUSHO 0010000
+#define FLUSHO 0020000
#define PENDIN 0040000
+#define TOSTOP 0100000
+#define ITOSTOP 0100000
+#define EXTPROC 0200000
+
+#define TIOCSER_TEMT 1
#define TCOOFF 0
#define TCOON 1
next prev parent reply other threads:[~2012-11-23 22:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-23 20:10 Florian Fainelli
2012-11-23 22:19 ` Szabolcs Nagy [this message]
2012-11-23 22:52 ` Florian Fainelli
2012-11-24 6:15 ` Isaac Dunham
2012-11-24 10:01 ` Szabolcs Nagy
2012-11-25 11:46 ` [musl] " Florian Fainelli
2012-11-25 13:37 ` Szabolcs Nagy
2012-11-25 18:41 ` Re: [OpenWrt-Devel] " John Spencer
2012-11-25 19:29 ` Florian Fainelli
2012-12-01 4:15 ` Rich Felker
2012-12-01 9:16 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121123221924.GA10895@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).