Merge tag 'stable/for-linus-3.6-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / include / linux / generic_serial.h
1 /*
2  *  generic_serial.h
3  *
4  *  Copyright (C) 1998 R.E.Wolff@BitWizard.nl
5  *
6  *  written for the SX serial driver.
7  *
8  *  Version 0.1 -- December, 1998.
9  */
10
11 #ifndef GENERIC_SERIAL_H
12 #define GENERIC_SERIAL_H
13
14 #warning Use of this header is deprecated.
15 #warning Since nobody sets the constants defined here for you, you should not, in any case, use them. Including the header is thus pointless.
16
17 /* Flags */
18 /* Warning: serial.h defines some ASYNC_ flags, they say they are "only"
19    used in serial.c, but they are also used in all other serial drivers. 
20    Make sure they don't clash with these here... */
21 #define GS_TX_INTEN      0x00800000
22 #define GS_RX_INTEN      0x00400000
23 #define GS_ACTIVE        0x00200000
24
25 #define GS_TYPE_NORMAL   1
26
27 #define GS_DEBUG_FLUSH   0x00000001
28 #define GS_DEBUG_BTR     0x00000002
29 #define GS_DEBUG_TERMIOS 0x00000004
30 #define GS_DEBUG_STUFF   0x00000008
31 #define GS_DEBUG_CLOSE   0x00000010
32 #define GS_DEBUG_FLOW    0x00000020
33 #define GS_DEBUG_WRITE   0x00000040
34
35 #endif