diff options
| author | Steve French <sfrench@us.ibm.com> | 2005-12-31 13:27:22 -0500 | 
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2005-12-31 13:27:22 -0500 | 
| commit | eea60caef610c7a6c58c0de9c80ae1e438e01301 (patch) | |
| tree | 25e19289bba003fe085e589430d0d981fd6b73a7 /include/linux/n_r3964.h | |
| parent | da8543ef125afc7bba4da526b61a1ae07dc25109 (diff) | |
| parent | 82c9df820112c6286a8e8fbe482e94b65b49062c (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/n_r3964.h')
| -rw-r--r-- | include/linux/n_r3964.h | 20 | 
1 files changed, 13 insertions, 7 deletions
| diff --git a/include/linux/n_r3964.h b/include/linux/n_r3964.h index 2352bcd31a06..db4f3776978a 100644 --- a/include/linux/n_r3964.h +++ b/include/linux/n_r3964.h | |||
| @@ -13,6 +13,10 @@ | |||
| 13 | * L. Haag | 13 | * L. Haag | 
| 14 | * | 14 | * | 
| 15 | * $Log: r3964.h,v $ | 15 | * $Log: r3964.h,v $ | 
| 16 | * Revision 1.4 2005/12/21 19:54:24 Kurt Huwig <kurt huwig de> | ||
| 17 | * Fixed HZ usage on 2.6 kernels | ||
| 18 | * Removed unnecessary include | ||
| 19 | * | ||
| 16 | * Revision 1.3 2001/03/18 13:02:24 dwmw2 | 20 | * Revision 1.3 2001/03/18 13:02:24 dwmw2 | 
| 17 | * Fix timer usage, use spinlocks properly. | 21 | * Fix timer usage, use spinlocks properly. | 
| 18 | * | 22 | * | 
| @@ -45,9 +49,11 @@ | |||
| 45 | #define __LINUX_N_R3964_H__ | 49 | #define __LINUX_N_R3964_H__ | 
| 46 | 50 | ||
| 47 | /* line disciplines for r3964 protocol */ | 51 | /* line disciplines for r3964 protocol */ | 
| 48 | #include <asm/termios.h> | ||
| 49 | 52 | ||
| 50 | #ifdef __KERNEL__ | 53 | #ifdef __KERNEL__ | 
| 54 | |||
| 55 | #include <linux/param.h> | ||
| 56 | |||
| 51 | /* | 57 | /* | 
| 52 | * Common ascii handshake characters: | 58 | * Common ascii handshake characters: | 
| 53 | */ | 59 | */ | 
| @@ -58,14 +64,14 @@ | |||
| 58 | #define NAK 0x15 | 64 | #define NAK 0x15 | 
| 59 | 65 | ||
| 60 | /* | 66 | /* | 
| 61 | * Timeouts (msecs/10 msecs per timer interrupt): | 67 | * Timeouts (from milliseconds to jiffies) | 
| 62 | */ | 68 | */ | 
| 63 | 69 | ||
| 64 | #define R3964_TO_QVZ 550/10 | 70 | #define R3964_TO_QVZ ((550)*HZ/1000) | 
| 65 | #define R3964_TO_ZVZ 220/10 | 71 | #define R3964_TO_ZVZ ((220)*HZ/1000) | 
| 66 | #define R3964_TO_NO_BUF 400/10 | 72 | #define R3964_TO_NO_BUF ((400)*HZ/1000) | 
| 67 | #define R3964_NO_TX_ROOM 100/10 | 73 | #define R3964_NO_TX_ROOM ((100)*HZ/1000) | 
| 68 | #define R3964_TO_RX_PANIC 4000/10 | 74 | #define R3964_TO_RX_PANIC ((4000)*HZ/1000) | 
| 69 | #define R3964_MAX_RETRIES 5 | 75 | #define R3964_MAX_RETRIES 5 | 
| 70 | 76 | ||
| 71 | #endif | 77 | #endif | 
