diff options
| author | Jean Tourrilhes <jt@hpl.hp.com> | 2004-01-05 04:03:28 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2004-01-05 04:03:28 -0800 |
| commit | ef06b19295898ec6dea4e82effd6e09e31fcb4ac (patch) | |
| tree | 9a9cb0c2ac53f9eeb731b468c3b470f012a2b056 /include | |
| parent | cdd56702d6800194618b7de0545157ed8ca0b229 (diff) | |
[IRDA]: Fix locking in the ircomm-shutdown path.
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/irda/ircomm_tty.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h index dbb43c14934d..b1f19269c026 100644 --- a/include/net/irda/ircomm_tty.h +++ b/include/net/irda/ircomm_tty.h @@ -52,6 +52,11 @@ /* Same for payload size. See qos.c for the smallest max data size */ #define IRCOMM_TTY_DATA_UNINITIALISED (64 - IRCOMM_TTY_HDR_UNINITIALISED) +/* Those are really defined in include/linux/serial.h - Jean II */ +#define ASYNC_B_INITIALIZED 31 /* Serial port was initialized */ +#define ASYNC_B_NORMAL_ACTIVE 29 /* Normal device is active */ +#define ASYNC_B_CLOSING 27 /* Serial port is closing */ + /* * IrCOMM TTY driver state */ @@ -75,7 +80,7 @@ struct ircomm_tty_cb { LOCAL_FLOW flow; /* IrTTP flow status */ int line; - __u32 flags; + volatile unsigned long flags; __u8 dlsap_sel; __u8 slsap_sel; |
