]> granicus.if.org Git - strace/commitdiff
sparc64: fix tty ioctl numbers
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Aug 2016 09:15:24 +0000 (09:15 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Aug 2016 09:15:24 +0000 (09:15 +0000)
The structures defined in asm/termbits.h have the same size
on sparc and sparc64.

* linux/sparc64/ioctls_arch0.h (TCGETS, TCGETS2, TCSETS, TCSETS2,
TCSETSF, TCSETSF2, TCSETSW, TCSETSW2): Sync with
linux/sparc/ioctls_arch0.h

linux/sparc64/ioctls_arch0.h

index 6128dc9b15140626460017e4da745eed5d36d58e..0e5f1a0e28df8daf42688247e755a4f1bea8db26 100644 (file)
 { "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
 { "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x5407, 0x00 },
 { "asm/ioctls.h", "TCGETA", _IOC_READ, 0x5401, 0x12 },
-{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x5408, 0x38 },
-{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x540c, 0x40 },
+{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x5408, 0x24 },
+{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x540c, 0x2c },
 { "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x5405, 0x00 },
 { "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 },
 { "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x5402, 0x12 },
 { "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x5404, 0x12 },
 { "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x5403, 0x12 },
-{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x5409, 0x38 },
-{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x540d, 0x40 },
-{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x540b, 0x38 },
-{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x540f, 0x40 },
-{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x540a, 0x38 },
-{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x540e, 0x40 },
+{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x5409, 0x24 },
+{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x540d, 0x2c },
+{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x540b, 0x24 },
+{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x540f, 0x2c },
+{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x540a, 0x24 },
+{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x540e, 0x2c },
 { "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x5406, 0x00 },
 { "asm/ioctls.h", "TIOCCBRK", _IOC_NONE, 0x747a, 0x00 },
 { "asm/ioctls.h", "TIOCCONS", _IOC_NONE, 0x7424, 0x00 },