Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * generic_serial.h | |
3 | * | |
4 | * Copyright (C) 1998 R.E.Wolff@BitWizard.nl | |
5 | * | |
6 | * written for the SX serial driver. | |
1da177e4 LT |
7 | * |
8 | * Version 0.1 -- December, 1998. | |
9 | */ | |
10 | ||
11 | #ifndef GENERIC_SERIAL_H | |
12 | #define GENERIC_SERIAL_H | |
13 | ||
5de0a567 JS |
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. | |
1da177e4 LT |
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 | ||
1da177e4 LT |
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 | ||
1da177e4 | 35 | #endif |