mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (36 commits) jsm: fixing error if the driver fails to load jsm: removing the uart structure and filename on error tty: Add a new VT mode which is like VT_PROCESS but doesn't require a VT_RELDISP ioctl call tty: Keep the default buffering to sub-page units tty: Fix up char drivers request_room usage tty: Fix the ldisc hangup race serial: timberdale: Remove dependancies nozomi: Tidy up the PCI table nozomi: Fix mutex handling nozomi: Add tty_port usage sdio_uart: Use kfifo instead of the messy circ stuff serial: bcm63xx_uart: allow more than one uart to be registered. serial: bcm63xx_uart: don't use kfree() on non kmalloced area. serial: bfin_5xx: pull in linux/io.h for ioremap prototypes serial: bfin_5xx: kgdboc should accept gdb break only when it is active serial: bfin_5xx: need to disable DMA TX interrupt too serial: bfin_5xx: remove useless gpio handling with hard flow control Char: synclink, remove unnecessary checks tty: declare MODULE_FIRMWARE in various drivers ip2: Add module parameter. ...
This commit is contained in:
commit
9446808022
36 changed files with 978 additions and 652 deletions
|
|
@ -2332,6 +2332,8 @@
|
|||
#define PCI_VENDOR_ID_KORENIX 0x1982
|
||||
#define PCI_DEVICE_ID_KORENIX_JETCARDF0 0x1600
|
||||
#define PCI_DEVICE_ID_KORENIX_JETCARDF1 0x16ff
|
||||
#define PCI_DEVICE_ID_KORENIX_JETCARDF2 0x1700
|
||||
#define PCI_DEVICE_ID_KORENIX_JETCARDF3 0x17ff
|
||||
|
||||
#define PCI_VENDOR_ID_QMI 0x1a32
|
||||
|
||||
|
|
@ -2696,6 +2698,7 @@
|
|||
#define PCI_DEVICE_ID_NETMOS_9835 0x9835
|
||||
#define PCI_DEVICE_ID_NETMOS_9845 0x9845
|
||||
#define PCI_DEVICE_ID_NETMOS_9855 0x9855
|
||||
#define PCI_DEVICE_ID_NETMOS_9865 0x9865
|
||||
#define PCI_DEVICE_ID_NETMOS_9901 0x9901
|
||||
|
||||
#define PCI_VENDOR_ID_3COM_2 0xa727
|
||||
|
|
|
|||
|
|
@ -68,6 +68,16 @@ struct tty_buffer {
|
|||
unsigned long data[0];
|
||||
};
|
||||
|
||||
/*
|
||||
* We default to dicing tty buffer allocations to this many characters
|
||||
* in order to avoid multiple page allocations. We assume tty_buffer itself
|
||||
* is under 256 bytes. See tty_buffer_find for the allocation logic this
|
||||
* must match
|
||||
*/
|
||||
|
||||
#define TTY_BUFFER_PAGE ((PAGE_SIZE - 256) / 2)
|
||||
|
||||
|
||||
struct tty_bufhead {
|
||||
struct delayed_work work;
|
||||
spinlock_t lock;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ struct vt_mode {
|
|||
#define VT_SETMODE 0x5602 /* set mode of active vt */
|
||||
#define VT_AUTO 0x00 /* auto vt switching */
|
||||
#define VT_PROCESS 0x01 /* process controls switching */
|
||||
#define VT_ACKACQ 0x02 /* acknowledge switch */
|
||||
#define VT_PROCESS_AUTO 0x02 /* process is notified of switching */
|
||||
|
||||
struct vt_stat {
|
||||
unsigned short v_active; /* active vt */
|
||||
|
|
@ -38,6 +38,7 @@ struct vt_stat {
|
|||
#define VT_SENDSIG 0x5604 /* signal to send to bitmask of vts */
|
||||
|
||||
#define VT_RELDISP 0x5605 /* release display */
|
||||
#define VT_ACKACQ 0x02 /* acknowledge switch */
|
||||
|
||||
#define VT_ACTIVATE 0x5606 /* make vt active */
|
||||
#define VT_WAITACTIVE 0x5607 /* wait for vt active */
|
||||
|
|
|
|||
Loading…
Reference in a new issue