| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: cd18xxreg.h,v 1.4 2008/05/29 14:51:27 mrg Exp $ */ | | 1 | /* $NetBSD: cd18xxreg.h,v 1.5 2022/12/30 20:25:56 andvar Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1998, 2001 Matthew R. Green | | 4 | * Copyright (c) 1998, 2001 Matthew R. Green |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Redistribution and use in source and binary forms, with or without | | 7 | * Redistribution and use in source and binary forms, with or without |
8 | * modification, are permitted provided that the following conditions | | 8 | * modification, are permitted provided that the following conditions |
9 | * are met: | | 9 | * are met: |
10 | * 1. Redistributions of source code must retain the above copyright | | 10 | * 1. Redistributions of source code must retain the above copyright |
11 | * notice, this list of conditions and the following disclaimer. | | 11 | * notice, this list of conditions and the following disclaimer. |
12 | * 2. Redistributions in binary form must reproduce the above copyright | | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
13 | * notice, this list of conditions and the following disclaimer in the | | 13 | * notice, this list of conditions and the following disclaimer in the |
14 | * documentation and/or other materials provided with the distribution. | | 14 | * documentation and/or other materials provided with the distribution. |
| @@ -89,27 +89,27 @@ | | | @@ -89,27 +89,27 @@ |
89 | #define CD18xx_RBPRH 0x31 /* receive bit rate period (high) */ | | 89 | #define CD18xx_RBPRH 0x31 /* receive bit rate period (high) */ |
90 | #define CD18xx_RBPRL 0x32 /* receive bit rate period (low) */ | | 90 | #define CD18xx_RBPRL 0x32 /* receive bit rate period (low) */ |
91 | #define CD18xx_TBPRH 0x39 /* transmit bit rate period (high) */ | | 91 | #define CD18xx_TBPRH 0x39 /* transmit bit rate period (high) */ |
92 | #define CD18xx_TBPRL 0x3a /* transmit bit rate period (low) */ | | 92 | #define CD18xx_TBPRL 0x3a /* transmit bit rate period (low) */ |
93 | #define CD18xx_SCHR1 0x09 /* special character (1) */ | | 93 | #define CD18xx_SCHR1 0x09 /* special character (1) */ |
94 | #define CD18xx_SCHR2 0x0a /* special character (2) */ | | 94 | #define CD18xx_SCHR2 0x0a /* special character (2) */ |
95 | #define CD18xx_SCHR3 0x0b /* special character (3) */ | | 95 | #define CD18xx_SCHR3 0x0b /* special character (3) */ |
96 | #define CD18xx_SCHR4 0x0c /* special character (4) */ | | 96 | #define CD18xx_SCHR4 0x0c /* special character (4) */ |
97 | #define CD18xx_MCR 0x10 /* modem change */ | | 97 | #define CD18xx_MCR 0x10 /* modem change */ |
98 | #define CD18xx_MCOR1 0x10 /* modem change option (1) */ | | 98 | #define CD18xx_MCOR1 0x10 /* modem change option (1) */ |
99 | #define CD18xx_MCOR2 0x11 /* modem change option (2) */ | | 99 | #define CD18xx_MCOR2 0x11 /* modem change option (2) */ |
100 | #define CD18xx_MSVR 0x28 /* modem signal value */ | | 100 | #define CD18xx_MSVR 0x28 /* modem signal value */ |
101 | #define CD18xx_MSVRTS 0x29 /* modem signal value RTS */ | | 101 | #define CD18xx_MSVRTS 0x29 /* modem signal value RTS */ |
102 | #define CD18xx_MSVDTR 0x2a /* mdoem signal value DTR */ | | 102 | #define CD18xx_MSVDTR 0x2a /* modem signal value DTR */ |
103 | | | 103 | |
104 | | | 104 | |
105 | /* | | 105 | /* |
106 | * inside the registers | | 106 | * inside the registers |
107 | */ | | 107 | */ |
108 | | | 108 | |
109 | /* global registers */ | | 109 | /* global registers */ |
110 | | | 110 | |
111 | /* global firmware revision code */ | | 111 | /* global firmware revision code */ |
112 | #define CD180_GFRCR_REV_B 0x81 /* CL-CD180B */ | | 112 | #define CD180_GFRCR_REV_B 0x81 /* CL-CD180B */ |
113 | #define CD180_GFRCR_REV_C 0x82 /* CL-CD180C */ | | 113 | #define CD180_GFRCR_REV_C 0x82 /* CL-CD180C */ |
114 | #define CD1864_GFRCR_REVISION_A 0x82 /* CL-CD1864A */ | | 114 | #define CD1864_GFRCR_REVISION_A 0x82 /* CL-CD1864A */ |
115 | #define CD1865_GFRCR_REVISION_A 0x83 /* CL-CD1865A */ | | 115 | #define CD1865_GFRCR_REVISION_A 0x83 /* CL-CD1865A */ |