Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19104
b: refs/heads/master
c: 747c8a5
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jan 21, 2006
1 parent 7f8b7bb commit 58cbc27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba899dbc036d24ab6b45faf64e3648a268721cc9
refs/heads/master: 747c8a55946ed037bf7d62454c3c599c02af2262
18 changes: 10 additions & 8 deletions trunk/include/linux/serial_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ struct uart_state {
};

#define UART_XMIT_SIZE PAGE_SIZE

typedef unsigned int __bitwise__ uif_t;

/*
* This is the state information which is only valid when the port
* is open; it may be freed by the core driver once the device has
Expand All @@ -296,17 +299,16 @@ struct uart_state {
struct uart_info {
struct tty_struct *tty;
struct circ_buf xmit;
unsigned int flags;
uif_t flags;

/*
* These are the flags that specific to info->flags, and reflect our
* internal state. They can not be accessed via port->flags. Low
* level drivers must not change these, but may query them instead.
* Definitions for info->flags. These are _private_ to serial_core, and
* are specific to this structure. They may be queried by low level drivers.
*/
#define UIF_CHECK_CD (1 << 25)
#define UIF_CTS_FLOW (1 << 26)
#define UIF_NORMAL_ACTIVE (1 << 29)
#define UIF_INITIALIZED (1 << 31)
#define UIF_CHECK_CD ((__force uif_t) (1 << 25))
#define UIF_CTS_FLOW ((__force uif_t) (1 << 26))
#define UIF_NORMAL_ACTIVE ((__force uif_t) (1 << 29))
#define UIF_INITIALIZED ((__force uif_t) (1 << 31))

int blocked_open;

Expand Down

0 comments on commit 58cbc27

Please sign in to comment.