*/
//config:config SETSERIAL
-//config: bool "setserial"
+//config: bool "setserial (6.6 kb)"
//config: default y
//config: select PLATFORM_LINUX
//config: help
-//config: Retrieve or set Linux serial port.
+//config: Retrieve or set Linux serial port.
//applet:IF_SETSERIAL(APPLET(setserial, BB_DIR_BIN, BB_SUID_DROP))
#define CTL_CLOSE (1 << 3)
#define CTL_NODIE (1 << 4)
-static const char serial_types[] =
+static const char serial_types[] ALIGN1 =
"unknown\0" /* 0 */
"8250\0" /* 1 */
"16450\0" /* 2 */
# define MAX_SERIAL_TYPE 13
#endif
-static const char commands[] =
+static const char commands[] ALIGN1 =
"spd_normal\0"
"spd_hi\0"
"spd_vhi\0"
ASYNC_LOW_LATENCY
};
-static const char STR_INFINITE[] = "infinite";
-static const char STR_NONE[] = "none";
+#define STR_INFINITE "infinite"
+#define STR_NONE "none"
static const char *uart_type(int type)
{