TTY: seperate hardware dependent parts + add new serial driver
.Split TTY in order to support both x86 and ARM.
.Add support for the TI 16750 UARTs on OMAP35x.
.Various other improvements:
.Kernel messages are printed using generic terminal write
functions. That is, they are no longer directly displayed
on the console.
.The console can now be displayed on any terminal. This
is configured by the "console={tty00,tty01,ttyc2,ttyc3,ttyc4}"
boot variable -- basically any valid /dev/tty* terminal.
.Cutify kernel messages with colors. Configured by
"kernelclr={1,2,3,4,5,6,7}" boot variable.
This commit is contained in:
@@ -145,6 +145,8 @@ int tcsetattr(int _filedes, int _opt_actions, const struct termios
|
||||
#define cfsetospeed(termios_p, speed) ((termios_p)->c_ospeed = (speed), 0)
|
||||
#endif
|
||||
|
||||
/* Here are the local extensions to the POSIX standard for Minix. */
|
||||
|
||||
/* Extensions to the termios c_iflag bit map. */
|
||||
#define IXANY 0x0800 /* allow any key to continue ouptut */
|
||||
#define SCANCODES 0x1000 /* send scancodes */
|
||||
@@ -164,8 +166,16 @@ int tcsetattr(int _filedes, int _opt_actions, const struct termios
|
||||
#define VDISCARD 13 /* cc_c[VDISCARD] (^O) */
|
||||
|
||||
/* Extensions to baud rate settings. */
|
||||
#ifdef _MINIX
|
||||
#define B57600 0x0100 /* 57600 baud */
|
||||
#define B115200 0x0200 /* 115200 baud */
|
||||
#define B230400 0x0400 /* 230400 baud */
|
||||
#define B460800 0x0800 /* 460800 baud */
|
||||
#define B921600 0x1000 /* 921600 baud */
|
||||
#define B1843200 0x2000 /* 1843200 baud */
|
||||
#define B3000000 0x4000 /* 3000000 baud */
|
||||
#define B3686400 0x8000 /* 3686400 baud */
|
||||
#endif /* _MINIX */
|
||||
|
||||
/* These are the default settings used by the kernel and by 'stty sane' */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user