From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2329 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Support for musl libc in OpenWrt Date: Fri, 23 Nov 2012 23:19:24 +0100 Message-ID: <20121123221924.GA10895@port70.net> References: <50AFD839.9010408@openwrt.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7" X-Trace: ger.gmane.org 1353709178 13374 80.91.229.3 (23 Nov 2012 22:19:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 22:19:38 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2330-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 23 23:19:50 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Tc1bB-0002oq-Pj for gllmg-musl@plane.gmane.org; Fri, 23 Nov 2012 23:19:49 +0100 Original-Received: (qmail 9374 invoked by uid 550); 23 Nov 2012 22:19:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 9360 invoked from network); 23 Nov 2012 22:19:37 -0000 Content-Disposition: inline In-Reply-To: <50AFD839.9010408@openwrt.org> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2329 Archived-At: --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Florian Fainelli [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 --fdj2RfSjLxBAspz7 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="mips_termio.diff" 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 --fdj2RfSjLxBAspz7--