]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/dev/fatm/if_fatm_rate.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / dev / fatm / if_fatm_rate.h
1 /*-
2  * Copyright (c) 2001-2003
3  *      Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4  *      All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions
8  * are met:
9  * 1. Redistributions of source code must retain the above copyright
10  *    notice, this list of conditions and the following disclaimer.
11  * 2. Redistributions in binary form must reproduce the above copyright
12  *    notice, this list of conditions and the following disclaimer in the
13  *    documentation and/or other materials provided with the distribution.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25  * SUCH DAMAGE.
26  *
27  * Author: Hartmut Brandt <harti@freebsd.org>
28  *
29  * Fore PCA200E driver for NATM
30  *
31  * This has been generated with:
32  *
33  *      awk </dev/null 'BEGIN { period=255; linerate=353053; \
34  *          printf "{ 0x00000000, %u },\n", linerate; \
35  *          for(i=period-1; i>0; i--) printf "{ 0x%08x, %u },\n", \
36  *              (i * 65536) + (period - i), i * linerate/period; }'
37  *
38  * $FreeBSD$
39  */
40 { 0x00000000, 353053 },
41 { 0x00fe0001, 351668 },
42 { 0x00fd0002, 350283 },
43 { 0x00fc0003, 348899 },
44 { 0x00fb0004, 347514 },
45 { 0x00fa0005, 346130 },
46 { 0x00f90006, 344745 },
47 { 0x00f80007, 343361 },
48 { 0x00f70008, 341976 },
49 { 0x00f60009, 340592 },
50 { 0x00f5000a, 339207 },
51 { 0x00f4000b, 337823 },
52 { 0x00f3000c, 336438 },
53 { 0x00f2000d, 335054 },
54 { 0x00f1000e, 333669 },
55 { 0x00f0000f, 332285 },
56 { 0x00ef0010, 330900 },
57 { 0x00ee0011, 329516 },
58 { 0x00ed0012, 328131 },
59 { 0x00ec0013, 326747 },
60 { 0x00eb0014, 325362 },
61 { 0x00ea0015, 323978 },
62 { 0x00e90016, 322593 },
63 { 0x00e80017, 321209 },
64 { 0x00e70018, 319824 },
65 { 0x00e60019, 318439 },
66 { 0x00e5001a, 317055 },
67 { 0x00e4001b, 315670 },
68 { 0x00e3001c, 314286 },
69 { 0x00e2001d, 312901 },
70 { 0x00e1001e, 311517 },
71 { 0x00e0001f, 310132 },
72 { 0x00df0020, 308748 },
73 { 0x00de0021, 307363 },
74 { 0x00dd0022, 305979 },
75 { 0x00dc0023, 304594 },
76 { 0x00db0024, 303210 },
77 { 0x00da0025, 301825 },
78 { 0x00d90026, 300441 },
79 { 0x00d80027, 299056 },
80 { 0x00d70028, 297672 },
81 { 0x00d60029, 296287 },
82 { 0x00d5002a, 294903 },
83 { 0x00d4002b, 293518 },
84 { 0x00d3002c, 292134 },
85 { 0x00d2002d, 290749 },
86 { 0x00d1002e, 289365 },
87 { 0x00d0002f, 287980 },
88 { 0x00cf0030, 286595 },
89 { 0x00ce0031, 285211 },
90 { 0x00cd0032, 283826 },
91 { 0x00cc0033, 282442 },
92 { 0x00cb0034, 281057 },
93 { 0x00ca0035, 279673 },
94 { 0x00c90036, 278288 },
95 { 0x00c80037, 276904 },
96 { 0x00c70038, 275519 },
97 { 0x00c60039, 274135 },
98 { 0x00c5003a, 272750 },
99 { 0x00c4003b, 271366 },
100 { 0x00c3003c, 269981 },
101 { 0x00c2003d, 268597 },
102 { 0x00c1003e, 267212 },
103 { 0x00c0003f, 265828 },
104 { 0x00bf0040, 264443 },
105 { 0x00be0041, 263059 },
106 { 0x00bd0042, 261674 },
107 { 0x00bc0043, 260290 },
108 { 0x00bb0044, 258905 },
109 { 0x00ba0045, 257521 },
110 { 0x00b90046, 256136 },
111 { 0x00b80047, 254751 },
112 { 0x00b70048, 253367 },
113 { 0x00b60049, 251982 },
114 { 0x00b5004a, 250598 },
115 { 0x00b4004b, 249213 },
116 { 0x00b3004c, 247829 },
117 { 0x00b2004d, 246444 },
118 { 0x00b1004e, 245060 },
119 { 0x00b0004f, 243675 },
120 { 0x00af0050, 242291 },
121 { 0x00ae0051, 240906 },
122 { 0x00ad0052, 239522 },
123 { 0x00ac0053, 238137 },
124 { 0x00ab0054, 236753 },
125 { 0x00aa0055, 235368 },
126 { 0x00a90056, 233984 },
127 { 0x00a80057, 232599 },
128 { 0x00a70058, 231215 },
129 { 0x00a60059, 229830 },
130 { 0x00a5005a, 228446 },
131 { 0x00a4005b, 227061 },
132 { 0x00a3005c, 225677 },
133 { 0x00a2005d, 224292 },
134 { 0x00a1005e, 222907 },
135 { 0x00a0005f, 221523 },
136 { 0x009f0060, 220138 },
137 { 0x009e0061, 218754 },
138 { 0x009d0062, 217369 },
139 { 0x009c0063, 215985 },
140 { 0x009b0064, 214600 },
141 { 0x009a0065, 213216 },
142 { 0x00990066, 211831 },
143 { 0x00980067, 210447 },
144 { 0x00970068, 209062 },
145 { 0x00960069, 207678 },
146 { 0x0095006a, 206293 },
147 { 0x0094006b, 204909 },
148 { 0x0093006c, 203524 },
149 { 0x0092006d, 202140 },
150 { 0x0091006e, 200755 },
151 { 0x0090006f, 199371 },
152 { 0x008f0070, 197986 },
153 { 0x008e0071, 196602 },
154 { 0x008d0072, 195217 },
155 { 0x008c0073, 193833 },
156 { 0x008b0074, 192448 },
157 { 0x008a0075, 191063 },
158 { 0x00890076, 189679 },
159 { 0x00880077, 188294 },
160 { 0x00870078, 186910 },
161 { 0x00860079, 185525 },
162 { 0x0085007a, 184141 },
163 { 0x0084007b, 182756 },
164 { 0x0083007c, 181372 },
165 { 0x0082007d, 179987 },
166 { 0x0081007e, 178603 },
167 { 0x0080007f, 177218 },
168 { 0x007f0080, 175834 },
169 { 0x007e0081, 174449 },
170 { 0x007d0082, 173065 },
171 { 0x007c0083, 171680 },
172 { 0x007b0084, 170296 },
173 { 0x007a0085, 168911 },
174 { 0x00790086, 167527 },
175 { 0x00780087, 166142 },
176 { 0x00770088, 164758 },
177 { 0x00760089, 163373 },
178 { 0x0075008a, 161989 },
179 { 0x0074008b, 160604 },
180 { 0x0073008c, 159219 },
181 { 0x0072008d, 157835 },
182 { 0x0071008e, 156450 },
183 { 0x0070008f, 155066 },
184 { 0x006f0090, 153681 },
185 { 0x006e0091, 152297 },
186 { 0x006d0092, 150912 },
187 { 0x006c0093, 149528 },
188 { 0x006b0094, 148143 },
189 { 0x006a0095, 146759 },
190 { 0x00690096, 145374 },
191 { 0x00680097, 143990 },
192 { 0x00670098, 142605 },
193 { 0x00660099, 141221 },
194 { 0x0065009a, 139836 },
195 { 0x0064009b, 138452 },
196 { 0x0063009c, 137067 },
197 { 0x0062009d, 135683 },
198 { 0x0061009e, 134298 },
199 { 0x0060009f, 132914 },
200 { 0x005f00a0, 131529 },
201 { 0x005e00a1, 130145 },
202 { 0x005d00a2, 128760 },
203 { 0x005c00a3, 127375 },
204 { 0x005b00a4, 125991 },
205 { 0x005a00a5, 124606 },
206 { 0x005900a6, 123222 },
207 { 0x005800a7, 121837 },
208 { 0x005700a8, 120453 },
209 { 0x005600a9, 119068 },
210 { 0x005500aa, 117684 },
211 { 0x005400ab, 116299 },
212 { 0x005300ac, 114915 },
213 { 0x005200ad, 113530 },
214 { 0x005100ae, 112146 },
215 { 0x005000af, 110761 },
216 { 0x004f00b0, 109377 },
217 { 0x004e00b1, 107992 },
218 { 0x004d00b2, 106608 },
219 { 0x004c00b3, 105223 },
220 { 0x004b00b4, 103839 },
221 { 0x004a00b5, 102454 },
222 { 0x004900b6, 101070 },
223 { 0x004800b7, 99685 },
224 { 0x004700b8, 98301 },
225 { 0x004600b9, 96916 },
226 { 0x004500ba, 95531 },
227 { 0x004400bb, 94147 },
228 { 0x004300bc, 92762 },
229 { 0x004200bd, 91378 },
230 { 0x004100be, 89993 },
231 { 0x004000bf, 88609 },
232 { 0x003f00c0, 87224 },
233 { 0x003e00c1, 85840 },
234 { 0x003d00c2, 84455 },
235 { 0x003c00c3, 83071 },
236 { 0x003b00c4, 81686 },
237 { 0x003a00c5, 80302 },
238 { 0x003900c6, 78917 },
239 { 0x003800c7, 77533 },
240 { 0x003700c8, 76148 },
241 { 0x003600c9, 74764 },
242 { 0x003500ca, 73379 },
243 { 0x003400cb, 71995 },
244 { 0x003300cc, 70610 },
245 { 0x003200cd, 69226 },
246 { 0x003100ce, 67841 },
247 { 0x003000cf, 66457 },
248 { 0x002f00d0, 65072 },
249 { 0x002e00d1, 63687 },
250 { 0x002d00d2, 62303 },
251 { 0x002c00d3, 60918 },
252 { 0x002b00d4, 59534 },
253 { 0x002a00d5, 58149 },
254 { 0x002900d6, 56765 },
255 { 0x002800d7, 55380 },
256 { 0x002700d8, 53996 },
257 { 0x002600d9, 52611 },
258 { 0x002500da, 51227 },
259 { 0x002400db, 49842 },
260 { 0x002300dc, 48458 },
261 { 0x002200dd, 47073 },
262 { 0x002100de, 45689 },
263 { 0x002000df, 44304 },
264 { 0x001f00e0, 42920 },
265 { 0x001e00e1, 41535 },
266 { 0x001d00e2, 40151 },
267 { 0x001c00e3, 38766 },
268 { 0x001b00e4, 37382 },
269 { 0x001a00e5, 35997 },
270 { 0x001900e6, 34613 },
271 { 0x001800e7, 33228 },
272 { 0x001700e8, 31843 },
273 { 0x001600e9, 30459 },
274 { 0x001500ea, 29074 },
275 { 0x001400eb, 27690 },
276 { 0x001300ec, 26305 },
277 { 0x001200ed, 24921 },
278 { 0x001100ee, 23536 },
279 { 0x001000ef, 22152 },
280 { 0x000f00f0, 20767 },
281 { 0x000e00f1, 19383 },
282 { 0x000d00f2, 17998 },
283 { 0x000c00f3, 16614 },
284 { 0x000b00f4, 15229 },
285 { 0x000a00f5, 13845 },
286 { 0x000900f6, 12460 },
287 { 0x000800f7, 11076 },
288 { 0x000700f8, 9691 },
289 { 0x000600f9, 8307 },
290 { 0x000500fa, 6922 },
291 { 0x000400fb, 5538 },
292 { 0x000300fc, 4153 },
293 { 0x000200fd, 2769 },
294 { 0x000100fe, 1384 },