OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [ChangeLog] - Blame information for rev 532

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
2003-02-24  Jonathan Larmour  
2
 
3
        * cdl/openbsd_net.cdl: Improve doc links.
4
 
5
2003-01-30  Jonathan Larmour  
6
 
7
        * src/sys/net/if_bridge.c (bridge_input): Learn source host addr,
8
        not dest host addr.
9
        Fix pointed to by Daniel Néri.
10
 
11
2002-12-14  Nick Garnett  
12
 
13
        * src/sys/netinet/tcp_usrreq.c (tcp_usrreq): Rearranged ifndef on
14
        PRU_SENSE case to keep the case in the switch and let it return a
15
        sensible result. Otherwise a stat() on a socket causes a panic().
16
 
17
2002-12-03  Gary Thomas  
18
 
19
        * src/ecos/support.c (show_network_tables): New function used
20
        to print network information (interface, routing).
21
 
22
2002-05-21  Jesper Skov  
23
 
24
        * src/lib/recv.c: Fix warning. socket.h declarations are not
25
        available to the kernel code. Added missing argument in the
26
        recvfrom call.
27
 
28
2002-05-14  Jesper Skov  
29
 
30
        * include/netinet6/in6.h: Fixed warnings.
31
 
32
        * src/sys/kern/uipc_socket2.c (sblock): Fixed warning.
33
        * src/sys/netinet/tcp_input.c: Same.
34
        * src/sys/net/if_loop.c (looutput): Same.
35
        * src/sys/kern/sockio.c: Same.
36
 
37
        * include/sys/param.h: Include machine headers after the namespace
38
        changing macros to get the desired declarations, thus fixing
39
        compiler warnings.
40
 
41
2002-04-26  Gary Thomas  
42
 
43
        * src/sys/netinet/ip_input.c: Proper "extern" definition of 'ipstat'.
44
 
45
        * src/sys/netinet/raw_ip.c:
46
        * src/sys/netinet/ip_output.c:
47
        * include/netinet/ip_var.h: Use of ramdom IP packet id is optional.
48
 
49
2002-04-22  Gary Thomas  
50
 
51
        * src/sys/netinet/tcp_usrreq.c:
52
        * src/sys/netinet/tcp_output.c:
53
        * src/sys/netinet/tcp_input.c:
54
        * src/sys/netinet/tcp_debug.c:
55
        * include/netinet/tcp_debug.h: Fully conditionalize on TCPDEBUG.
56
 
57
2002-03-27  Jonathan Larmour  
58
 
59
        * doc/openbsd.sgml: Manpages now live in "common" BSD package.
60
 
61
2002-03-19  Gary Thomas  
62
 
63
        * src/sys/net/route.c (cyg_route_reinit): Renamed from route_reinit.
64
 
65
2002-03-11  Hugo Tyson  
66
 
67
        [Case 107110]
68
 
69
        * src/sys/netinet/in.c (in_control): SIOCSIFADDR switch entry
70
        moved to before the scan for this same address being in the list
71
        already, along with Add and Delete (SIOCAIFADDR,SIOCDIFADDR) arms.
72
        It falls through into the same alloc-if-needed code anyway.
73
        Thus repeatedly setting the same address does not leak store.
74
 
75
        * src/sys/net/route.c (route_reinit): Rewrite to delete all routes
76
        individually rather than en-masse (leaking store).
77
        (rt_reinit_rtdelete): New function; callback for individual
78
        deletion.
79
        (rtioctl): Do not pass in a "route **" to return a pointer to the
80
        route removed or added; this results in an extra reference, by the
81
        returned pointer, and so a storeleak.
82
        (rtrequest): RTM_DELETE arm: do not free a gateway route if the
83
        gateway pointer is the same as the route itself - it gets freed
84
        *again* at the end of the routine if you do.  Just dec the refcnt.
85
 
86
2002-03-07  Gary Thomas  
87
 
88
        * include/sys/param.h: Privatize route_reinit(), arc4random().
89
 
90
2002-02-28  Hugo Tyson  
91
2002-02-28  Martin Buck 
92
 
93
        * src/sys/net/if_ethersubr.c (ether_input): [Bugzilla 60318]
94
        ether_input() schedules processing by calling schednetisr(FOO) and
95
        then queues the frame afterwards.  Where we cannot be preempted
96
        eg. in a DSR or in the original BSD kernel, this is OK.  In eCos
97
        the call to schednetisr(FOO) might cause a context switch *before*
98
        the frame is enqueued.  This "jams" one packet in the queue,
99
        delaying it until the next packet, and so on.
100
 
101
        This change makes ether_input() store up the schednetisr() arg
102
        until the end, and do the call then, much like it does with the
103
        queue to use.  Thanks Martin!
104
 
105
2002-02-22  Hugo Tyson  
106
 
107
        * doc/openbsd.sgml: New file; separated stack-specific docs from
108
        monolithic net doc, and tidied up in various ways.
109
 
110
2002-02-15  Gary Thomas  
111
 
112
        * cdl/openbsd_net.cdl: Slight changes in layout required by split
113
        of network stacks.
114
 
115
2002-02-13  Jonathan Larmour  
116
2002-02-13  Andrew Lunn  
117
 
118
        * include/sys/mbuf.h: Declare variables as extern in header.
119
        * src/sys/kern/uipc_mbuf.c: Define mbtypes[] and init it.
120
 
121
2002-02-05  Hugo Tyson  
122
 
123
        * cdl/openbsd_net.cdl: Place this package below  CYGPKG_NET
124
        ie. the common networking package.  Only affects the view in the
125
        GUI CT, no big deal.
126
 
127
2002-01-28  Gary Thomas  
128
 
129
        * src/sys/netinet/ip_input.c: inet_ntoa() is now common.
130
 
131
        * cdl/openbsd_net.cdl: Renamed from net.cdl.  This package
132
        is now a proper sub-package, implementing a network stack.
133
 
134
2002-01-28  Jonathan Larmour  
135
 
136
        * cdl/net.cdl: Clarify CYGPKG_NET_ROUTING description.
137
 
138
2002-01-08  Jonathan Larmour  
139
 
140
        * tests/server_test.c (server_test): Correct port conversion.
141
 
142
2001-12-14  Hugo Tyson  
143
 
144
        * src/sys/net/if_ethersubr.c (ether_output): Never ever print
145
        anything!  It can recurse unexpectedly if debugging over net.
146
 
147
2001-12-10  Andrew Lunn 
148
 
149
        * cdl/net.cdl: Add configury to eliminate network timing stats.
150
        * src/include/machine/param.h: Timing statistics for things like
151
        memcpy, mbuf_alloc etc now use configury to determine if the
152
        statistics code should be compiled.
153
        * src/ecos/support.c: Ditto.
154
        * tests/nc_test_slave.c: Only print timing stats when they
155
        are enabled.
156
        * tests/tcp_echo.c: Ditto.
157
        * tests/nc_test_master.c: Allow building with SNMP lib which has
158
        its own gettimeofday(). This should be fixed better a different
159
        way but will do for now.
160
 
161
2001-12-06  Hugo Tyson  
162
 
163
        * src/lib/bootp_support.c (init_net): Just re-tabbed and checked
164
        the addition to initialize DNS from DHCP info - it had already
165
        snuck into the file in the previous change from Andrew.  Include
166
        of netdb.h added also, from the patch in Bug 57019.  Also check
167
        CYGINT_ISO_DNS for the setup code instead of CYGPKG_ISO_DNS.
168
 
169
2001-12-04  Jonathan Larmour  
170
 
171
        * src/lib/bootp_support.c: Check CYGINT_ISO_DNS (from
172
        ) instead of CYGPKG_ISO_DNS.
173
 
174
2001-12-03   Andrew Lunn  
175
 
176
        * src/lib/bootp_support.c: get_bootp_option(): Take the
177
        max length of data we want out of the bootp record.
178
        * src/lib/dhcp_prot.c: Pass the length we expect for an option.
179
 
180
2001-08-16  Anssi Pulkkinen 
181
 
182
        * src/lib/dhcp_prot.c: Make sure we use the newly calculated xid.
183
 
184
2001-08-02  Anand Srivastava 
185
 
186
        * src/lib/dhcp_prot.c do_dhcp: ID calculation must be done only
187
        once. moved it out the loop.
188
 
189
2001-11-21  Hugo Tyson  
190
 
191
        * src/lib/dhcp_support.c (dhcp_mgt_entry): If we have an
192
        SNMPAGENT, must recycle it whenever we reinitialize all
193
        interfaces; call SnmpdShutDown() to cause this.
194
        Also re-initialize all loopback interfaces here too.
195
 
196
2001-11-30  Hugo Tyson  
197
 
198
        * src/lib/dhcp_prot.c (set_default_dhcp_tags): New routine to
199
        insert all the extra woffle we need neatly each time, keeping the
200
        state machine's case arms to the real work.  The new thing this
201
        sets is TAG_DHCP_PARM_REQ_LIST, with a list that matches the
202
        default set we get from a LINUX dhcpd.  This is because M$ servers
203
        need explicit requests for eg. TAG_GATEWAY.  Note that I have
204
        included configuration to override the set of tags requested here
205
        in the source, but not yet backed up by CDL - we'll see whether
206
        anyone needs this.
207
        (set_variable_tag): New routine to insert a variable pointed-to
208
        data item rather than an int of 1,2 or 4 bytes.
209
        (do_dhcp): Call set_default_dhcp_tags() every time we send a
210
        packet, rather than ad hoc additions in each state.
211
 
212
2001-11-29  Jonathan Larmour  
213
 
214
        * include/machine/ansi.h: No longer require BSD string function
215
        compatibility macros (in fact they confuse things).
216
 
217
        * cdl/net.cdl: Require BSD compatibility functions from .
218
 
219
2001-11-19  Hugo Tyson  
220
 
221
        * include/bootp.h (BP_STD_TX_MINPKTSZ): New symbol defining the
222
        minimal DHCP packet size which we should send.
223
 
224
        * src/lib/dhcp_prot.c (scan_dhcp_size): New routine to scan up to
225
        the end of the packet, for length determination and padding.
226
        (dhcp_size): Now uses scan_dhcp_size().
227
        (dhcp_size_for_send): New, uses scan_dhcp_size() and pads with
228
        zero up to the min packet size that we should send.
229
        (do_dhcp): In every sendto() call, use dhcp_size_for_send(xmit) in
230
        order to send padded, full size packets as needed.  5 instances.
231
 
232
        Credit to "Anssi Pulkkinen"  for the
233
        original version of this patch.
234
 
235
2001-11-08  Jesper Skov  
236
 
237
        * tests/server_test.c (net_test): Fix compile error.
238
 
239
2001-11-02  Gary Thomas  
240
 
241
        * src/ecos/support.c:
242
        * include/machine/ansi.h: Add C++ support [externC].
243
 
244
2001-11-11  Andrew Lunn 
245
 
246
        *src/lib/recv.c: Implement the recv() call.
247
 
248
2001-10-29  Hugo Tyson  
249
 
250
        * src/sys/net/if_ethersubr.c (ether_output): [CASE 106613] Even if
251
        the queue is full, and we are dropping the packet, try to start
252
        the interface anyway, to give it a chance to empty the queue if
253
        the device has recovered from whatever made the queue fill up in
254
        the first place - being unplugged from the network for example.
255
        This change is belt & braces with a similar policy in the periodic
256
        tickle function in the logical ether driver in io/eth/... ; this
257
        change will recover the situation immediately if the application
258
        continues trying to send despite ENOBUFS.
259
 
260
2001-10-25  Hugo Tyson  
261
 
262
        * src/sys/net/if_bridge.c (bridge_broadcast): Count if_obytes in
263
        destination interfaces as well as the bridge interface; normally
264
        this is done in if_ethersubr.c but here we talk directly to the
265
        interface, bypassing that layer.  Thanks to Andrew Lunn for
266
        noticing that.
267
 
268
2001-10-18  Jonathan Larmour  
269
 
270
        * src/sys/netinet/in.c (in_lifaddr_ioctl): Silence warnings about
271
        trigraphs.
272
 
273
2001-10-10  Hugo Tyson  
274
 
275
        * tests/ftp_test.c (net_test): This was lacking #ifdefs for
276
        CYGHWR_NET_DRIVER_ETH0 and CYGHWR_NET_DRIVER_ETH1.  Ooops.
277
 
278
2001-10-05  Jonathan Larmour  
279
 
280
        * cdl/net.cdl (CYGPKG_NET_CFLAGS_ADD): Define __INSIDE_NET within
281
        this package to allow segregation of definitions only relevant for
282
        internal consumption, and definitions allowable for external
283
        consumption.
284
 
285
        * include/lib/libkern/libkern.h: Conditionalize on __INSIDE_NET.
286
 
287
2001-10-04  Jonathan Larmour  
288
 
289
        * cdl/net.cdl (CYGHWR_NET_DRIVER_ETH0): Make flavor bool so it isn't
290
        defined when 0.
291
        (CYGHWR_NET_DRIVER_ETH1): Ditto.
292
 
293
2001-10-04  Hugo Tyson  
294
 
295
        * src/lib/dhcp_support.c: Some conditional compilation tags were
296
        wrong vis a vis ETH1 versus ETH0.  Thanks to "Simon"
297
         for spotting it.
298
 
299
2001-10-04  Jesper Skov  
300
 
301
        * tests/multi_lo_select.c (cyg_user_start): Added CYG_TEST_INIT
302
        call.
303
        * tests/ping_lo_test.c (cyg_start): Same.
304
        * tests/tcp_lo_test.c (cyg_start): Same.
305
        * tests/udp_lo_test.c (cyg_start): Same.
306
        * tests/tcp_lo_select.c (cyg_start): Same.
307
 
308
2001-09-28  Jonathan Larmour  
309
 
310
        * cdl/net.cdl: Tell isoinfra we support getproto* and getserv*
311
        NS functionality.
312
        * include/netdb.h: Move to...
313
        * include/net/netdb.h: ...here.
314
 
315
2001-09-25  Jesper Skov  
316
 
317
        * cdl/net.cdl: Don't build tests/nc_test_master as it's a host
318
        side tool.
319
 
320
        * src/lib/getserv.c: Added domain service.
321
 
322
        * include/netdb.h: Moved getbyhost()/getbyaddr() declarations and
323
        hostent struct definition to the DNS package.
324
 
325
        * src/lib/gethost.c: Removed.
326
 
327
        * cdl/net.cdl: Removed gethost.c (replaced by proper
328
        implementation in CYGPKG_NS_DNS).
329
 
330
2001-09-17  Hugo Tyson  
331
2001-09-17  Andrew Lunn 
332
 
333
        * src/sys/net/if_bridge.c (bridge_broadcast): Fix a null pointer
334
        deference.  Supporting VLANs, it seems that during the net_init()
335
        function, it sends a packet to the bridge with the source
336
        interface being NULL.  Stats counting assumed otherwise.
337
 
338
2001-09-14  Jonathan Larmour  
339
 
340
        * src/sys/kern/uipc_syscalls.c: Last change to uipc_syscalls.c
341
        wasn't right. The parts that were __ECOS__ should simply have
342
        been completely removed.
343
 
344
2001-09-13  Hugo Tyson  
345
 
346
        * cdl/net.cdl: Add configury to control whether we can tickle the
347
        network devices if there's a lack of network traffic, and to
348
        control the delay time before so doing.
349
 
350
        * src/ecos/timeout.c (alarm_thread): Use a timed wait, if so
351
        configured, for the flag; and if it times out, tickle all the
352
        devices via the common ether driver routine for so doing.
353
 
354
2001-09-12  Jonathan Larmour  
355
 
356
        * include/sys/socketvar.h: Use __ECOS, not __ECOS__.
357
        * src/sys/kern/uipc_syscalls.c: Ditto.
358
        * src/sys/kern/uipc_socket2.c (sblock): Ditto.
359
 
360
2001-08-02  Jonathan Larmour  
361
 
362
        * tests/linux_echo.c (echo_test): Set socket options before bind.
363
        * tests/nc_test_slave.c (do_tcp_test): Ditto.
364
        * tests/server_test.c (server_test): Ditto.
365
        * tests/tcp_echo.c (echo_test): Ditto.
366
        * tests/tcp_lo_test.c (server): Ditto.
367
        * tests/tcp_sink.c (sink_test): Ditto.
368
        * tests/tcp_source.c (source_test): Ditto.
369
 
370
2001-07-27  Jonathan Larmour  
371
 
372
        * include/sys/select.h: Renamed to....
373
        * include/sys/bsdselect.h: New file.
374
        * include/sys/socketvar.h: Include  instead of
375
        
376
        * src/lib/select.c: Include 
377
 
378
2001-07-26  Jonathan Larmour  
379
 
380
        * cdl/net.cdl (CYGPKG_NET_API_LOCAL): Implements select()
381
        * include/sys/bsdtypes.h: No need for these select definitions.
382
 
383
2001-06-20  Grant Edwards 
384
2001-06-20  Hugo Tyson  
385
 
386
        * src/lib/dhcp_prot.c (alarm_function): Change the lease state
387
        before re-enabling the alarm so that if it somehow gets times of
388
        zero (ie. right now) it quickly completes the state machine rather
389
        than recursing to its doom.
390
        (new_lease): Test the retcode of get_bootp_option() and use
391
        obvious defaults if the T1 and T2 times are not provided - this is
392
        RFC compliant! - and use "infinite lease" if the lease time is not
393
        provided at all.
394
 
395
2001-06-19  Trenton D. Adams  
396
 
397
        * tests/server_test.c (server_test): Null terminate read string
398
        at right place.
399
 
400
2001-06-13  Jonathan Larmour  
401
 
402
        * cdl/net.cdl: Make debug output an option. Include DHCP.
403
 
404
        * src/lib/dhcp_prot.c: DHCP_CHATTER -> CYGDBG_NET_DHCP_CHATTER
405
 
406
        * src/ecos/support.c (cyg_kmem_init): Only print debug output if
407
        requested.
408
 
409
        * cdl/net.cdl: Make requirements on other eCos features more
410
        abstract.
411
 
412
2001-05-09  Robin Farine 
413
2001-05-09  Hugo Tyson  
414
 
415
        * src/lib/dhcp_prot.c (do_dhcp): In DHCPSTATE_INIT case, create a
416
        new xid.  Servers apparantly can use *only* this to distinguish
417
        machines, even with different MAC addresses!  Therefore we use
418
        both the most sensitive randomizer available (arc4random()) which
419
        in reality uses a finegrain clock, and salt the value further with
420
        the MAC address itself.  Thanks again Robin.
421
 
422
        * src/ecos/support.c (arc4random): Make arc4random not always be a
423
        multiple of 256; stir the clock into the low bits also.
424
 
425
2001-05-09  Robin Farine 
426
2001-05-09  Hugo Tyson  
427
 
428
        * src/sys/net/if_bridge.c: Patch from Robin; the route aging
429
        process took twice as long to timeout because an entry requires
430
        *two* executions of bridge_rtage() to actually get removed.
431
        Record the timeout over 2 to fix that and also define
432
        BRIDGE_RTABLE_TIMEOUT as 300s that the standard specifies as
433
        default aging time.
434
 
435
2001-05-09  Hugo Tyson  
436
 
437
        * src/lib/getserv.c (setreturned): New routine to set up a copy of
438
        the service data with the port converted to network order like the
439
        API demands.  It's this way to make the initialization of the
440
        table most readable.
441
        (services[]): Added an entry for snmp.
442
        (getservbyname): Use setreturned() to return adjusted info.
443
        (getservbyport): Use setreturned() to return adjusted info and
444
        compare with host-ordered version of the port.
445
 
446
        * src/lib/tftp_client.c (tftp_get):
447
        (tftp_put): Do not convert to net order from
448
        the getserv structure; it's already net order.
449
 
450
        * src/lib/tftp_server.c (tftpd_server): Convert the socket into
451
        host order; it's network order in the getserv API.
452
 
453
        * tests/ftp_test.c (ftp_test): Do not convert to net order from
454
        the getserv structure; it's already net order.
455
 
456
        * tests/tftp_client_test.c (PUTFILE): Changed the names of the
457
        test files to be fully qualified, this makes the test work with
458
        more server machines.  /tftpboot/tftp_get and /tftpboot/tftp_put.
459
 
460
2001-04-24  Bart Veer  
461
 
462
        * cdl/net.cdl:
463
        Prevent multiple device drivers from implementing the
464
        same eth0/eth1 device.
465
 
466
2001-03-30  Jonathan Larmour  
467
 
468
        * cdl/net.cdl (CYGPKG_NET_SYSCTL): Comment out - currently unsupported.
469
 
470
2001-03-28  Richard Panton  
471
 
472
        * include/bootp.h: Define func protos with C linkage
473
        * include/netdb.h: Ditto
474
        * include/network.h: Ditto
475
        * include/tftp_support.h: Ditto
476
 
477
        * src/lib/getserv.c: getservbynumber() -> getservbyport()
478
 
479
2001-03-12  Gary Thomas  
480
 
481
        * src/lib/network_support.c (init_all_network_interfaces):
482
        FIx slightly broken previous attempt in abort code.
483
 
484
2001-03-11  Gary Thomas  
485
 
486
        * src/lib/network_support.c (init_all_network_interfaces):
487
        Let initialization of PCMCIA devices abort after ~5 seconds.
488
 
489
2001-02-23  Jonathan Larmour  
490
 
491
        * src/lib/tftp_server.c (STACK_SIZE): Align
492
 
493
2001-02-20  Jonathan Larmour  
494
 
495
        * cdl/net.cdl: Avoid puts to the CDL header when a CDL
496
        define will do.
497
        Rename CYGPKG_NET_BRIDGE_CODE -> CYGPKG_NET_BRIDGE
498
        Rename CYGPKG_NET_NBRIDGE -> CYGNUM_NET_BRIDGES
499
        Rename CYGPKG_NET_BRIDGE_HANDLER -> CYGINT_NET_BRIDGE_HANDLER
500
        Make if_bridge.c compilation conditional on CYGPKG_NET_BRIDGE
501
 
502
        * src/sys/net/if_bridge.c: Reflect above renames.
503
 
504
2001-02-20  Hugo Tyson  
505
2001-02-15  Martin Buck  
506
 
507
        * cdl/net.cdl: Split up CYGPKG_NET_NBRIDGE into 2 parts:
508
        CYGPKG_NET_NBRIDGE and CYGPKG_NET_BRIDGE_HANDLER. If
509
        CYGPKG_NET_BRIDGE_HANDLER is nonzero, calls to an Ethernet
510
        bridge are inserted into the stack's data path. If
511
        CYGPKG_NET_NBRIDGE is nonzero, the standard OpenBSD bridge
512
        code is added. This setup allows you to implement your own
513
        bridge as a separate package which then implements
514
        CYGPKG_NET_BRIDGE_HANDLER so it gets called by the stack.
515
        NBRIDGE now is the same as CYGPKG_NET_BRIDGE_HANDLER instead
516
        of CYGPKG_NET_NBRIDGE. This means it's nonzero if the bridge
517
        is wanted, but it no longer contains the number of bridge
518
        buffers requested. This shouldn't be a problem, because the
519
        only place where the actual number of buffers is required is
520
        in if_bridge.c, which now uses CYGPKG_NET_NBRIDGE instead
521
        of NBRIDGE.
522
 
523
        * src/sys/net/if_bridge.c: Use CYGPKG_NET_NBRIDGE instead of
524
        NBRIDGE, because the latter one now only means that there is
525
        a bridge, not that we should implement it.
526
 
527
2001-01-07  Gary Thomas  
528
 
529
        * src/ecos/support.c:
530
        * cdl/net.cdl:  Add interface 'CYGPKG_NET_DRIVER_FRAMEWORK'
531
        to describe interdependencies between network stack and driver
532
        framework packages.
533
 
534
 
535
2001-01-03  Hugo Tyson  
536
 
537
        * tests/linux_echo.c: New file to test for network bandwidth
538
        limitations in host side.  Builds to a linux version of the
539
        tcp_echo middleman.
540
 
541
        * tests/make.linux (all): Build linux_echo.
542
 
543
2001-01-03  Hugo Tyson  
544
 
545
        * include/dhcp.h (struct dhcp_lease): Define the semaphore pointer
546
        field in each lease structure.
547
 
548
        * src/lib/dhcp_support.c: Initialize the dhcp_lease structs to
549
        point to the semaphore "dhcp_needs_attention".
550
 
551
        * src/lib/dhcp_prot.c (alarm_function): Post to the semaphore
552
        pointed to in the lease structure, rather than one hard-coded.
553
        This is much cleaner, in that dhcp_prot.c now uses no external
554
        variables, all state goes through the API.
555
 
556
2000-11-15  Hugo Tyson  
557
 
558
        * src/lib/bootp_support.c (init_net): Do a SIOCSIFADDR a 2nd time
559
        after setting the netmask (SIOCSIFNETMASK) in order for the newly
560
        set netmask to "take" - otherwise a bogus route based on the
561
        default netmask lurks within the system.
562
 
563
2000-11-10  Hugo Tyson  
564
 
565
        * src/ecos/support.c (cyg_net_get_mem_stats): New API for getting
566
        info on the various mem pools the stack uses to enable tests to
567
        spot store leaks.
568
 
569
        * include/network.h (cyg_net_get_mem_stats): Export this API for
570
        automated network testing.
571
 
572
2000-10-24  Hugo Tyson  
573
 
574
        * src/lib/tftp_server.c (tftpd_server): Cut down the chatter to
575
        nothing (unless there's an error) if running automated testing.
576
 
577
2000-10-17  Hugo Tyson  
578
2000-10-10  Andrew Lunn 
579
 
580
        * src/ecos/support.c (setsoftnet,cyg_panic): Less chatter,
581
        particularly not when we're out of MBUFs.
582
 
583
2000-10-17  Hugo Tyson  
584
2000-10-10  Andrew Lunn 
585
 
586
        * src/sys/net/if_bridge.c: Intergrated a more up to date version
587
        from the OpenBSD sources. This fixes a few bugs.
588
 
589
2000-10-17  Hugo Tyson  
590
 
591
        * src/ecos/support.c (cyg_ktime_init): Start time at 1 Second so
592
        that all visible time values are valid; offset time by 1 Second
593
        subsequently, for ever.
594
 
595
        * src/sys/netinet/if_ether.c (arpresolve): Undo the change below;
596
        instead make "kernel time" be valid ie. more than 1 second into
597
        its life.  Dumb stack assumes it takes UNIX-like time to start.
598
 
599
2000-10-16  Hugo Tyson  
600
 
601
        * src/sys/netinet/if_ether.c (arpresolve): Deal with the initial
602
        case when the route timeout is zero (as initialized).  Otherwise
603
        it never actually sent out the initial ARP request packet.  This
604
        caused connect() not to work, and thus ftp_test, for example.
605
 
606
        * src/lib/dhcp_support.c (dhcp_start_dhcp_mgt_thread): Also
607
        initialize the dhcp semaphore here.  The other place it is init'd
608
        [correctly] didn't fire if we use the standard support.  Fixed
609
        some absent return value warnings.
610
 
611
2000-10-10  Hugo Tyson  
612
 
613
        * src/lib/tftp_server.c (tftpd_server): Modify the server to
614
        support multiple sessions - ie. starting N servers at once.
615
        Mainly this means closing the initial socket whilst servicing a
616
        request, so that another server can then bind to it; tell another
617
        server to retry that bind via a semaphore, that it waited on when
618
        the bind failed initially, rather than just returning.
619
 
620
        * src/lib/tftp_dummy_file.c (dummy_open): Trivial bugfix: scan the
621
        list of files as well as incrementing the counter.
622
 
623
2000-10-05  Andrew Lunn 
624
 
625
        * src/ecos/support.c (cyg_ktime_func,cyg_ktime_init,cyg_net_init):
626
        Make 'ktime' value valid.
627
 
628
2000-10-05  Hugo Tyson  
629
 
630
        * src/lib/tftp_server.c (tftpd_write_file): Restructure this
631
        function to match the loop layout of the tftpd_read_file; so that
632
        it retries sensibly, and so that a delayed/duplicated packet does
633
        not cause a doubling of all traffic with a less smart host.
634
 
635
2000-10-05  Hugo Tyson  
636
 
637
        * include/tftp_support.h (TFTP_TIMEOUT_MAX): Change this to 50; it
638
        refers to total timeouts for a whole session, so it should be
639
        greater than the retry count for each packet.
640
 
641
2000-10-05  Hugo Tyson  
642
 
643
        * src/lib/tftp_dummy_file.c: Make the fake file slots be a Mb
644
        instead of 10k so that you can do meaningful timing tests with it.
645
        (dummy_open): Allow re-write of an existing file so that you can
646
        do repeated put tests without running out of slots.
647
 
648
2000-10-05  Hugo Tyson  
649
 
650
        * src/lib/select.c (_cyg_select): Unlock the scheduler in a couple
651
        of other places I missed.  Doh.
652
 
653
2000-09-28  Hugo Tyson  
654
 
655
        * src/lib/select.c (_cyg_select): Elect to wait for the flags
656
        atomically wrt sockets possibly becoming ready - this was a race
657
        condition that would apparently delay a packet until another
658
        arrived, eg. a tftp retry.  Then two came along all at once.
659
 
660
2000-09-28  Hugo Tyson  
661
 
662
        * src/lib/tftp_server.c: Add lots of instrumentation for
663
        debugging.  It's switched off, and doesn't have a real config opt,
664
        though it easily could have.
665
 
666
2000-09-26  Hugo Tyson  
667
 
668
        * src/lib/tftp_server.c (tftpd_read_file): Doh! TFTP_TIMEOUT is an
669
        internal API thing, not an error we can send in an ERROR packet.
670
 
671
        * include/tftp_support.h: Comment to this effect.
672
 
673
2000-09-26  Hugo Tyson  
674
2000-09-25  Andrew Lunn 
675
 
676
        * src/lib/tftp_server.c: Send an ERROR packet when giving up after
677
        too many timeouts.  This should cause the client to give up as
678
        well.  Also moved all the replicated code to send an ERROR packet
679
        into one function.
680
 
681
        [Huge] I collected another point where we can use the common
682
        function also, and used ETIMEOUT instead of EBADOP for the new
683
        error packet returns. Thanks Andrew!
684
 
685
2000-09-14  Hugo Tyson  
686
 
687
        * cdl/net.cdl (CYGOPT_NET_DHCP_DHCP_THREAD_PARAM): Set default to
688
        1 so that the DHCP management thread loops forever.  This allows
689
        it to recover from a DHCP renewal failure.
690
 
691
        * src/lib/dhcp_prot.c (next_timeout): Harden the DHCP protocol
692
        machine against [simulated] failures - otherwise the tests with
693
        simulated failures tend just to close down all the interfaces when
694
        DHCP packets are lost.
695
 
696
2000-09-11  Gary Thomas  
697
 
698
        * src/lib/bootp_support.c (init_net): Set default route correctly.
699
 
700
2000-09-01  Hugo Tyson  
701
 
702
        * src/ecos/support.c (cyg_net_init): You can't print things while
703
        initializing the network!  Well, not if connected to GDB over the
704
        network anyway.  The printf("Init device '%s'...); removed.
705
 
706
2000-09-01  Hugo Tyson  
707
 
708
        * OVERVIEW: This is part of the change to the network stack to
709
        greatly reduce latencies both of (other) DSRs and of thread
710
        scheduling.  All the work that the network stack *and* individual
711
        ether drivers used to do in DSRs (including alarm callbacks and
712
        data copies to/from the device memory) is moved into a "fast
713
        network thread" instead.  It calls a device's "deliver" function
714
        to do the work that was previously in the DSR.  This is a separate
715
        thread so that it can be set higher priority than application
716
        threads in order to minimize packet loss (depending on the
717
        driver), if required (the application threads presumed to be
718
        higher priority in turn than the network thread).  A crucial
719
        consequence of this is that we are no longer locking against DSRs,
720
        so a plain mutex can be used rather than the global scheduler
721
        lock, thus simplifying all the splfoo/splx() style functions.
722
 
723
        * src/ecos/timeout.c (alarm_thread): Addition of the "fast network
724
        thread" which runs DSR-like activities.
725
        (do_timeout): Timeout function morphed for calling from that.
726
        (do_alarm, ecos_synch_eth_drv_dsr): new DSR functions to signal to
727
        the thread.
728
        (timeout): Race condition fixed.  splinternal() used for locking
729
        instead of scheduler.
730
 
731
        * src/ecos/support.c (cyg_net_init): Splfoo/splx() functions,
732
        together with tsleep/wakeup functions, all removed to separate
733
        them from the mixed bag of utilities in this file.  What remains
734
        is mbuf wrapper routines and the like, plus the network "netisr"
735
        thread itself, the caller into the stack that does the slower
736
        priority work.
737
 
738
        * src/ecos/synch.c: New file; implemtation of new splfoo/splx()
739
        functions, together with tsleep/wakeup functions, since they are
740
        related now.
741
 
742
        * cdl/net.cdl: Compile new file synch.c; two new options, one for
743
        "fast thread" priority, and one for DHCP manager thread priority,
744
        as I was adding prio configury.  CYGPKG_NET_FAST_THREAD_PRIORITY
745
        and CYGPKG_NET_DHCP_THREAD_PRIORITY resp, with suitable default
746
        values relative to the CYGPKG_NET_THREAD_PRIORITY.
747
 
748
        * src/lib/dhcp_support.c (dhcp_start_dhcp_mgt_thread): Use the
749
        configured priority rather than just "net thread - 1"
750
 
751
2000-08-31  Hugo Tyson  
752
 
753
        * tests/tcp_echo.c: Change the priorities of the main and loading
754
        threads to accommodate the network having helper threads around at
755
        adjacent priorities to its main thread prio.
756
 
757
2000-08-24  Hugo Tyson  
758
 
759
        * src/sys/net/if.c (ifioctl): Support the two new ioctl() keys; at
760
        this level, the struct ifreq at the head of the data area must be
761
        filled to select an interface.
762
 
763
        * include/sys/sockio.h (SIOCGIFSTATSUD): Add two new eCos-only
764
        ioctl() keys, SIOCGIFSTATSUD and SIOCGIFSTATS, for reading
765
        statistical information out of ethernet devices, for SNMP. This
766
        should allow SNMP (a) to not explode, (b) to get useful info out
767
        of other device implementations than this one.
768
 
769
2000-08-17  Hugo Tyson  
770
 
771
        * src/ecos/timeout.c (timeout): Rework the timeout system to
772
        record last-time-we-set-the-alarm and whence values, so that new
773
        timeouts being added can be set up relative to the correct
774
        absolute time.  Otherwise adding a new timeout sets them *all*
775
        into the future by the expired portion of the previous minimum
776
        pending timeout.  Also deal better with recursion ie. timeout
777
        handlers themselves setting new timeouts as is only natural.
778
        Lots of asserts too.
779
 
780
        * src/ecos/support.c (cyg_splsoftnet): Use the new kernel facility
781
        to lock mutex &c atomically, with the scheduler locked already.
782
        (cyg_tsleep): Similarly, and reclaim the mutex likewise.
783
        Also added lots of asserts to both calls the better to document
784
        what's going on.
785
 
786
2000-08-17  Hugo Tyson  
787
 
788
        * src/lib/tftp_server.c: Fix contributors field.
789
 
790
2000-08-16  Hugo Tyson  
791
 
792
        * src/lib/tftp_server.c: Improvements to server wrt better error
793
        messages and detection of filesystem errors eg. on close-file.
794
        Contrib from ASCOM.  I tidied up some comments and indent to
795
        minimize the diff.  [CASE 104354]
796
 
797
2000-08-15  Hugo Tyson  
798
 
799
        * doc/bridge.html: New file...
800
        * doc/bridge.doc: New file...
801
        provided by ASCOM from the OpenBSD version.
802
 
803
2000-08-15  Hugo Tyson  
804
 
805
        * src/sys/net/if_bridge.c (bridge_ioctl): SIOCBRDGSTO takes
806
        argument in seconds not in ticks.  So move around some mul/div by
807
        hz ops to get this right.
808
 
809
2000-08-14  Gary Thomas  
810
 
811
        * src/ecos/support.c: Use new table definition mechanism.
812
 
813
2000-07-27  Hugo Tyson  
814
 
815
        * src/lib/dhcp_prot.c (do_dhcp): Use xmit->bp_htype =
816
        HTYPE_ETHERNET rather than ifr.ifr_hwaddr.sa_family; sa_family is
817
        in a different namespace, despite appearances.
818
 
819
        * src/lib/bootp_support.c (do_bootp): Use bp_htype =
820
        HTYPE_ETHERNET rather than ifr.ifr_hwaddr.sa_family; sa_family is
821
        in a different namespace, despite appearances.
822
 
823
2000-07-27  Nick Garnett  
824
 
825
        * cdl/net.cdl: Require the C library STDIO package to be present
826
        if there is more than one loopback interface. This is because it
827
        needs sprintf() to form the interface names.
828
 
829
        * src/sys/net/if_loop.c (loopattach):
830
        Only use sprintf() to form the loopback interface names when there
831
        is more than one. The CDL ensures that this will work.
832
 
833
        * src/lib/network_support.c:
834
        Added diag_printf() version of perror() for when STDIO package is
835
        absent.
836
        Only use sprintf() to form the loopback interface names when there
837
        is more than one. The CDL ensures that this will work.
838
 
839
        * tests/multi_lo_select.c:
840
        * tests/ping_lo_test.c:
841
        * tests/tcp_lo_test.c:
842
        Removed dependence on C library by adding a substitute perror()
843
        based on diag_printf() that is enabled when the STDIO package is
844
        absent.
845
 
846
2000-07-26  Hugo Tyson  
847
 
848
        * src/lib/dhcp_prot.c (do_dhcp): Set the broadcast flag where
849
        necessary, and the client address too.  This makes it talk to a
850
        greater range of servers OK.
851
 
852
2000-07-25  Nick Garnett  
853
 
854
        * tests/multi_lo_select.c: Changed definition of NLISTENERS to
855
        work correctly with FILEIO package.
856
 
857
        * src/sys/net/if_loop.c (loopattach): Changed initialization of
858
        if_xname to "lo0".
859
 
860
        * src/ecos/support.c (cyg_net_init): Removed redundant code to
861
        initialize loop-back interface.
862
 
863
2000-07-25  Hugo Tyson  
864
 
865
        * src/lib/getserv.c: Add a list terminator record with NULLs in it
866
        so that the search finishes (without throwing asserts about bad
867
        strings).
868
 
869
2000-07-21  Hugo Tyson  
870
 
871
        * src/sys/net/if_bridge.c: Move the include of stdio.h lower,
872
        apparently it confuses local x86 compilers if their host tree is
873
        malformed.  Or something.
874
 
875
2000-07-21  Hugo Tyson  
876
 
877
        * cdl/net.cdl: Add a lot of description about the way the various
878
        fields are used in interface initialization: specifically that
879
        "server" so-called is just "someone to talk to" in the absence of
880
        bootp - and our tests depend on it!
881
 
882
        * src/lib/bootp_support.c (init_net): Only set up a route if the
883
        route address is nonzero - or all manner of confusion occurs with
884
        multiple interfaces and route that sends to 0.0.0.0...
885
        For setting up the default route, use
886
              (SIOCADDRT, 0, 0, TAG_GATEWAY)
887
        rather than the bogus
888
              (SIOCADDRT, yiaddr & netmask, netmask, TAG_GATEWAY)
889
        that we did before.
890
 
891
        * tests/ftp_test.c (ftp_test): Try it with eth1 if available also.
892
 
893
        * tests/ping_test.c (ping_host): If a ping fails, reset the packet
894
        size to small just in case the huge packet size is what's causing
895
        confusion - helps it as a debug tool.
896
 
897
        * tests/dhcp_test.c (net_test): It didn't compile if DHCP is
898
        disabled!  Doh.  Same change as ping_test also.
899
 
900
2000-07-19  Hugo Tyson  
901
 
902
        * src/lib/tftp_server.c (tftpd_read_file): Deal with a) [assumed]
903
        timeouts on the select, and b) ACKs for old packets.
904
        [CASE 104052 and CASE 104055]
905
 
906
2000-07-19  Hugo Tyson  
907
 
908
        * src/lib/select.c (_cyg_select): Return 0 and do not perturb
909
        errno when the timeout occurs.  That matches the man page!
910
        [CASE 104054]
911
 
912
2000-07-19  Hugo Tyson  
913
 
914
        * include/machine/param.h: Be more defensive against warnings from
915
        external defines such as __linux__/__bsdi__/__FreeBSD__/...
916
        [CASE 104090]
917
 
918
2000-07-19  Hugo Tyson  
919
 
920
        * tests/multi_lo_select.c: New test program to test for proper
921
        broadcast behaviour of select() implementation.  Took some
922
        fiddling to get it to work, but it really did fail before the
923
        select change below.
924
 
925
        * cdl/net.cdl: Build the new test.
926
 
927
        * src/lib/select.c (_cyg_select): Don't use the CLR flag in the
928
        flag wait because that gives unicast semantics.  Flags have
929
        producer-does-all-the-work behaviour, so setting a value then
930
        clearing it right afterwards does the right thing, with broadcast
931
        semantics so long as no waiter has set the CLR part.
932
        [CASE 104058]
933
 
934
2000-07-18  Hugo Tyson  
935
 
936
        All part of the bridge contribution from Andrew Lunn/ASCOM
937
        (andrew.lunn@ascom.ch).  Bridginess is controlled by NBRIDGE which
938
        is itself controlled by CDL option CYGPKG_NET_NBRIDGE aka "Number
939
        of bridge buffers?"
940
 
941
        * include/machine/param.h: Add proper definition of untimeout().
942
 
943
        * include/sys/sockio.h (SIOCBRDGFRL): Add this and the other 2
944
        bridge ioctl() call definitions.
945
 
946
        * include/sys/param.h (splhigh): Added.
947
 
948
        * src/ecos/timeout.c (untimeout): Implement this properly, it was
949
        never used before.
950
 
951
        * src/ecos/support.c: implement cyg_splhigh(), call bridgeintr()
952
        when it is scheduled and bridgeattach() if configured.
953
 
954
        * tests/bridge.c: New "test" file - implements an ethernet bridge.
955
        Contributed by Andrew Lunn/ASCOM, from the usual OpenBSD external
956
        source original.
957
 
958
        * include/net/if_bridge.h: New file, contributed by Andrew Lunn/
959
        ASCOM, from OpenBSD original.  (Actually did exist in eCos source
960
        tree but was not released)
961
 
962
        * src/sys/net/if_bridge.c: New file, contributed by Andrew Lunn/
963
        ASCOM, from OpenBSD original.
964
 
965
        * cdl/net.cdl: Build the new files.
966
 
967
2000-07-18  Gary Thomas  
968
 
969
        * src/lib/tftp_client.c (tftp_get): Fix edge condition when
970
        penultimate block is full and end of file which implies that
971
        the last block has zero data bytes.
972
 
973
2000-07-18  Hugo Tyson  
974
 
975
        * src/lib/dhcp_prot.c: Ignore NAK messages from the wrong server -
976
        we get these because the REQUEST for our chosen IP is broadcast,
977
        so other servers think we've asked to use the wrong IP.
978
 
979
2000-07-14  Hugo Tyson  
980
 
981
        * include/bootp.h: export init_loopback_interface();
982
 
983
2000-07-14  Hugo Tyson  
984
 
985
        * cdl/net.cdl: Add option controlling whether to have a separate
986
        DHCP lease management thread, and what its parameter is to be -
987
        which controls whether it loops or quits if a lease fails.
988
 
989
        * src/lib/dhcp_support.c (dhcp_start_dhcp_mgt_thread): Provide the
990
        DHCP management thread function and code to instantiate and start
991
        the thread if so configured.
992
 
993
        * src/lib/network_support.c (init_all_network_interfaces): Call
994
        the function that starts the DHCP management thread function.
995
 
996
        * include/dhcp.h: Declare the DHCP management thread function &c
997
        if so configured.
998
 
999
        * tests/dhcp_test.c (net_test): Only poll for need to rebind DHCP
1000
        leases if there is no service thread to do the same.
1001
 
1002
2000-07-14  Hugo Tyson  
1003
 
1004
        * include/bootp.h (build_bootp_record): Export this, no harm in
1005
        it, and some folk want to use this rather than configured
1006
        initialization or bootp/dhcp.
1007
        Also commented the other APIs somewhat better.
1008
 
1009
        * src/lib/network_support.c (build_bootp_record): Unconditionally
1010
        provide this; selective linking will look after it if unused.
1011
 
1012
2000-07-14  Hugo Tyson  
1013
 
1014
        * src/lib/network_support.c (build_bootp_record): [Static
1015
        configuration of interface parameters] Add the gateway into the
1016
        options section with TAG_GATEWAY so that init_net() will pick it
1017
        up and set up a route accordingly.
1018
 
1019
2000-07-13  Hugo Tyson  
1020
 
1021
        * tests/dhcp_test.c:
1022
        * tests/flood.c:
1023
        * tests/ftp_test.c:
1024
        * tests/nc_test_master.c:
1025
        * tests/nc_test_slave.c:
1026
        * tests/ping_lo_test.c:
1027
        * tests/ping_test.c:
1028
        * tests/server_test.c:
1029
        * tests/set_mac_address.c:
1030
        * tests/tcp_echo.c:
1031
        * tests/tftp_client_test.c:
1032
        * tests/tftp_server_test.c:
1033
        Up the stack size to cope with full DHCP initialization in
1034
        init_all_network_interfaces().
1035
 
1036
2000-07-13  Hugo Tyson  
1037
 
1038
        * cdl/net.cdl: Add DHCP enable and interface-specific controls.
1039
 
1040
        * include/dhcp.h: New file: describe the DHCP APIs and behaviour,
1041
        as well as some internal APIs that are also available.
1042
 
1043
        * src/lib/dhcp_support.c: New file: the surrounding management
1044
        routines, a bit like network_support.c, which know about multiple
1045
        interfaces and so on.
1046
 
1047
        * src/lib/dhcp_prot.c: New file: the interface-independent DHCP
1048
        protocol machine, which is called from dhcp_support.c routines and
1049
        init_all_network_interfaces() in network_support.c
1050
 
1051
        * include/bootp.h (struct bootp): Make the packet bigger if DHCP
1052
        so that a mininal DHCP packet will fit.
1053
 
1054
        * src/lib/bootp_support.c (do_bootp): If no reply, fail gracefully
1055
        and tidy up so that other interfaces can be upbrung.
1056
        (show_bootp): Tell us a lot more about DHCP-specific info in the
1057
        packet structure.
1058
        (get_bootp_option): be aware of DHCP extensions to re-use file and
1059
        sname fields for options.
1060
 
1061
        * src/lib/network_support.c (init_all_network_interfaces): Call
1062
        do_dhcp() rather than do_bootp() if so configured, and initialize
1063
        the per-interface DHCP state variables accordingly.
1064
 
1065
        * tests/dhcp_test.c (net_test): New test file that diddles the
1066
        DHCP machine while doing a ping test.
1067
 
1068
2000-07-11  Gary Thomas  
1069
 
1070
        * include/netdev.h: Add single-inclusion fences.
1071
 
1072
        * include/sys/param.h: Add traced versions of splx() routines,
1073
        selectable by a configuration option.
1074
 
1075
        * src/ecos/support.c: Rework splx() emulation routines to
1076
        be more robust and realtime friendly.
1077
 
1078
        * src/lib/network_support.c (init_all_network_interfaces):
1079
        Add minimal support for PCMCIA based devices.
1080
 
1081
2000-07-04  Hugo Tyson  
1082
 
1083
        * include/bootp.h: Fix namespace pollution from "#define int32
1084
        int" - it fights against application code too much.
1085
 
1086
2000-07-04  Jonathan Larmour  
1087
 
1088
        * cdl/net.cdl: Package requires CYGPKG_MEMALLOC
1089
 
1090
2000-06-26  Hugo Tyson  
1091
 
1092
        * tests/ping_test.c (net_test): Added use of the
1093
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS stuff now that the test
1094
        passes (consequent on the change below); also use larger ping
1095
        packets now that that is working also.
1096
 
1097
        * tests/tcp_echo.c (echo_test): Added use of the
1098
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS stuff now that the test
1099
        passes (consequent on the change below).
1100
 
1101
2000-06-26  Hugo Tyson  
1102
 
1103
        * src/ecos/support.c (cyg_splnet): Use the scheduler lock and a
1104
        mutex instead of disable-interrupts for SPLX type processing.  A
1105
        mutex is used at splsoftnet because that is client threads - we do
1106
        not want them to pre-empt the rest of the app.  This enables the
1107
        real-time response testing for the EBSA285 to succeed (interrupts
1108
        every 1mS, DSRs delayed by at most 2mS).
1109
 
1110
2000-06-23  Hugo Tyson  
1111
 
1112
        * src/ecos/support.c (cyg_net_mbuf_alloc, cyg_kmem_init): Align
1113
        the mbuf pool to MSIZE [128] bytes.  That way dtom() works, nasty
1114
        though it is.  That's needed for ip reassembly in ip_input.c, when
1115
        dealing with large icmp-layer packets eg. ping -s 2000 ...
1116
 
1117
2000-06-21  Hugo Tyson  
1118
 
1119
        * include/lib/libkern/libkern.h: Do not define assert multiple
1120
        times; guarded by __ECOS.
1121
 
1122
        * include/sys/param.h (MAX,MIN): Only define if undef.
1123
 
1124
2000-06-21  Hugo Tyson  
1125
 
1126
        * cdl/net.cdl: Build the new tests; in fact build them
1127
        unconditionally.
1128
 
1129
        * src/lib/network_support.c (init_all_network_interfaces):
1130
        Initialize loopback device[s] using init_loopback_interface(),
1131
        providing a sensible default route et al.  Multiple devs: lo1 will
1132
        be 127.0.*1*.1, and so on; class C netmasks will be used.
1133
 
1134
        init_all_network_interfaces() is also made thread-safe as well as
1135
        idempotent, so other threads (or daemons) can call it to make sure
1136
        the net is up.
1137
 
1138
        * src/ecos/support.c (cyg_net_init): Add a call to loopattach() if
1139
        there are indeed loopback dev(s) configured.  This does the
1140
        equivalent of the init of a device from the table, but simpler.
1141
 
1142
        * tests/udp_lo_test.c (udp_server): New testcase...
1143
        * tests/tcp_lo_select.c (tcp_server): New testcase...
1144
        * tests/tcp_lo_test.c (tcp_client): New testcase...
1145
        * tests/ping_lo_test.c (net_test): New testcase, unconditionally
1146
        built loopback device test.  Will run on platforms with no network
1147
        interfaces.
1148
 
1149
2000-06-19  Nick Garnett  
1150
 
1151
        * src/ecos/support.c:
1152
        * include/netdev.h:
1153
        Converted to use of new table construction mechanism.
1154
 
1155
2000-06-16  Jonathan Larmour  
1156
 
1157
        * include/bootp.h: Remove RCS id tag
1158
        * include/netinet/ip_auth.h: Ditto
1159
        * include/netinet/ip_fil.h: Ditto
1160
        * include/netinet/ip_fil_compat.h: Ditto
1161
        * include/netinet/ip_frag.h: Ditto
1162
        * include/netinet/ip_nat.h: Ditto
1163
        * include/netinet/ip_proxy.h: Ditto
1164
        * include/netinet/ip_state.h: Ditto
1165
 
1166
2000-06-15  Nick Garnett  
1167
 
1168
        * src/sys/kern/sockio.c: Added cyg_selinit() calls to bad_socket()
1169
        and bsd_accept() functions.
1170
 
1171
        * src/ecos/support.c (cyg_tsleep): Changed tests on wakeup from
1172
        semaphore waits to enable return of EINTR results.
1173
 
1174
2000-06-09  Nick Garnett  
1175
 
1176
        * src/sys/net/if_loop.c: Substituted sprintf() for a straight
1177
        strcpy() when initalizing if name. This currently only works for
1178
        one loopback interface. However, there seems little need to have
1179
        more than one.
1180
 
1181
        * src/sys/kern/sockio.c (bsd_select): Added select support.
1182
 
1183
        * include/sys/time.h: Moved timeval structure definition to
1184
        isoinfra time.h header since it is needed by the select() API.
1185
 
1186
        * include/sys/select.h: Added option to use fileio select
1187
        mechanism if it is present.
1188
 
1189
        * src/ecos/support.c (cyg_net_init):
1190
        Added code to bring up the loopback interface. This is to help
1191
        with testing on platforms without network hardware.
1192
 
1193
2000-06-08  Hugo Tyson  
1194
 
1195
        * include/netinet/ip_var.h: Export ipforwarding as well as
1196
        ip_defttl for monitoring applications.
1197
 
1198
2000-06-07  Nick Garnett  
1199
 
1200
        * tests/tcp_echo.c:
1201
        * tests/socket_test.c:
1202
        * tests/server_test.c:
1203
        * tests/ping_test.c:
1204
        * tests/nc_test_master.c:
1205
        * tests/nc_test_slave.c:
1206
        * tests/ftp_test.c:
1207
        Removed dependence of these programs on STDIO. For most this
1208
        simply required the use of a diag_printf() based perror() clone is
1209
        CYGPKG_LIBC_STDIO is not defined. For server_test is also required
1210
        the substitution of sprintf() with some more primitive string
1211
        functions.
1212
 
1213
        * src/sys/netinet/ip_input.c: Rewrote inet_ntoa() to not use
1214
        sprintf(). This was the only place in the TCP/IP stack that was
1215
        dependent on a STDIO function. We really should avoid building
1216
        this kind of casual dependency into the code.
1217
 
1218
        * src/sys/kern/sockio.c: This new file contain code to support the
1219
        fileio package. So far only a few of these functions have actually
1220
        been tested.
1221
 
1222
        * include/sys/kernel.h (time): The time variable clashes with the
1223
        C library time() function. To prevent this it is renamed ktime,
1224
        and a #define allows "kernel" code to continue accessing it as
1225
        time.
1226
 
1227
        * src/ecos/support.c: Added definition for ktime variable, as
1228
        described above. I could not find any definition for struct
1229
        timeval time. I have a nasty suspicion that it was using the
1230
        time() function - let's hope that no code that actually uses this
1231
        has been run.
1232
 
1233
        * src/lib/bootp_support.c: Another substitution of a diag_printf()
1234
        based perror() clone when STDIO is absent.
1235
 
1236
        * include/sys/bsdtypes.h: This is the original
1237
        include/sys/types.h. Renamed to avoid clashing with 
1238
        defined by the isoinfra package.
1239
 
1240
        * include/sys/types.h: Renamed to bsdtypes.h.
1241
 
1242
        * include/machine/limits.h:
1243
        Various changes to make these headers play nicely with those
1244
        defined in isoinfra package.
1245
 
1246
        * include/network.h: Added include of . Fixed
1247
        prototypes of functions here to match POSIX specifications.
1248
 
1249
        * cdl/net.cdl:
1250
        Split list of files to compile into the common set plus those
1251
        needed when the fileio package is present and those that are
1252
        needed when it is absent.
1253
        Added CDL to export our definitions to .
1254
 
1255
 
1256
2000-05-31  Hugo Tyson  
1257
 
1258
        * src/lib/network_support.c (init_all_network_interfaces): Make
1259
        this call idempotent - this is useful for reliable initialization
1260
        of dependent subsystems.
1261
 
1262
        * include/lib/libkern/libkern.h: remove protos of random() and
1263
        srandom() for they are not in fact provided.
1264
 
1265
        * cdl/net.cdl: Turn off CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS by
1266
        default - since not all tests currently pass.
1267
 
1268
2000-05-12  Hugo Tyson  
1269
 
1270
        * cdl/net.cdl (CYGPKG_NET_TFTPD_THREAD_PRIORITY): New option,
1271
        control the TFTPD thread priority.  These options are *all*
1272
        CYGPKG_NET.  Yuk, sort 'em out later.
1273
 
1274
        * tests/tftp_server_test.c (tftp_test): Added use of the
1275
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS stuff, same as for the flood
1276
        ping test.  This one passes (with the next change), so committed.
1277
 
1278
        * src/lib/tftp_server.c (tftpd_server): Cancelled some of the
1279
        printouts as connections come and go *iff* the tests are set up to
1280
        use the realtime-ness test harness.  This needs generalizing into
1281
        proper control of the network's chattiness overall.
1282
        (tftpd_start): Also added configury of the TFTPD thread priority.
1283
 
1284
2000-05-12  Hugo Tyson  
1285
 
1286
        * cdl/net.cdl: Add flood test below.  Also add option
1287
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS to decide whether to
1288
        "Use real-time response test harness (if available)".
1289
        Consequently moved the test build stuff forward out of the build
1290
        flags area.
1291
 
1292
        * tests/flood.c (net_test): New file; performs a flood-ping (well,
1293
        as fast as we can go) of the server(s) on the two interfaces.
1294
        Also uses the real-time interrupt response verification stuff from
1295
        the EBSA285 driver component.
1296
 
1297
2000-05-11  Hugo Tyson  
1298
 
1299
        * cdl/net.cdl: Add new utility (and harmless-by-default test)
1300
        tests/set_mac_address.  You have to edit it to get anything
1301
        damaging to happen.
1302
 
1303
        * tests/set_mac_address.c: New file added.  It uses SIOCSIFHWADDR
1304
        to set the MAC address of any interfaces it has been told to.
1305
 
1306
2000-05-08  Gary Thomas  
1307
 
1308
        * include/machine/cpu.h:
1309
        * include/machine/cdefs.h: Add copyright boilerplate.
1310
 
1311
2000-05-05  Hugo Tyson  
1312
 
1313
        * include/arpa/tftp.h: Aargh.  Turns out that removing the align
1314
        driective and retaining only the packed directive makes the
1315
        original version work.  So, reverted.  Apologies for the wasted
1316
        time.
1317
 
1318
        * src/lib/tftp_server.c (tftpd_read_file): Coupla warnings
1319
        reduced, and reverted to match original tftp.h
1320
 
1321
        * src/lib/tftp_dummy_file.c (dummy_open): Removed use of
1322
        undeclared malloc().
1323
 
1324
2000-05-04  Gary Thomas  
1325
 
1326
        * src/lib/tftp_server.c:
1327
        * src/lib/tftp_client.c: Adjust for changes in header structure.
1328
 
1329
        * include/arpa/tftp.h: Continuing problems with alignment on ARM.
1330
        Recourse is very bastardized structure, but it _does_ work.
1331
 
1332
2000-05-04  Hugo Tyson  
1333
 
1334
        * tests/tftp_client_test.c (tftp_test): Print out a coupla more
1335
        things and test both interfaces if they exist - which does the
1336
        same thing twice if the same server bootp'd both.  Changed the
1337
        filenames to something more obvious.
1338
 
1339
        * cdl/net.cdl (CYGPKG_NET_TESTS): Build the tftp tests
1340
        tests/tftp_client_test tests/tftp_server_test
1341
 
1342
        * src/ecos/support.c (cyg_kmem_print_stats): New function; prints
1343
        info about memory usage for some tests to come.
1344
 
1345
2000-05-04  Gary Thomas  
1346
 
1347
        * include/arpa/tftp.h: Force packed alignment - required on some
1348
        architectures.
1349
 
1350
2000-05-01  Gary Thomas  
1351
 
1352
        * src/lib/tftp_dummy_file.c: Adding very simple routines - just
1353
        enough to test TFTP server.  This support will come from elsewhere
1354
        in actual application environments (e.g. a real file system).
1355
 
1356
        * tests/tftp_server_test.c:
1357
        * src/lib/tftp_server.c:
1358
        * include/tftp_support.h: Flesh out TFTP server support.
1359
 
1360
2000-04-13  Hugo Tyson  
1361
 
1362
        * tests/tcp_echo.c (calibrate_load): Import better background
1363
        thread loading algorithm with bugfix; if the initial HIGH limit
1364
        was not large enough, it never got loaded enough.
1365
 
1366
        * tests/nc_test_slave.c (calibrate_load): Import the fixed version
1367
        from above back in here.
1368
 
1369
2000-04-12  Gary Thomas  
1370
 
1371
        * src/ecos/support.c (cyg_tsleep): Use 'cyg_scheduler_safe_lock()' so
1372
        this function can be called with the scheduler locked.
1373
 
1374
        * src/sys/kern/uipc_socket2.c:
1375
        * include/sys/socketvar.h: Update sblock()/sbunlock() to be eCos safe.
1376
 
1377
2000-04-12  Hugo Tyson  
1378
 
1379
        * tests/tcp_echo.c: Include  so that it
1380
        links - otherwise max() is not around.
1381
 
1382
2000-04-11  Gary Thomas  
1383
 
1384
        * include/lib/libkern/libkern.h:
1385
        * include/network.h (NO_LIBKERN_INLINE): Disable kernel inline
1386
        functions.
1387
 
1388
2000-04-11  Gary Thomas  
1389
 
1390
        * src/lib/getserv.c: Add TFTP protocol.
1391
 
1392
        * cdl/net.cdl: Add TFTP library functions.
1393
 
1394
        * include/tftp_support.h:
1395
        * src/lib/tftp_dummy_file.c:
1396
        * src/lib/tftp_server.c:
1397
        * src/lib/tftp_client.c: New file(s).  Basic TFTP support functions.
1398
 
1399
2000-04-10  Hugo Tyson  
1400
 
1401
        * tests/tcp_echo.c (echo_test):
1402
        * tests/tcp_source.c:
1403
        * tests/tcp_sink.c:
1404
        Merge in changes from Grant Edwards  presented on
1405
        ecos-discuss "Mon, 10 Apr 2000 11:01:54 -0500" - fix some
1406
        warnings, and use ntohl() on the control data that travels netly
1407
        so that the host tools will work on otherendian machines.
1408
 
1409
2000-04-07  Gary Thomas  
1410
 
1411
        * tests/nc_test_slave.c: Update background thread loading
1412
        calibration to use a binary search (better) algorithm.
1413
 
1414
2000-03-29  Hugo Tyson  
1415
 
1416
        * tests/ftp_test.c (cyg_test_exit):
1417
        * tests/mbuf_test.c (cyg_start):
1418
        * tests/nc_test_master.c (cyg_test_exit):
1419
        * tests/nc_test_slave.c (show_net_times):
1420
        * tests/ping_test.c (cyg_test_exit):
1421
        * tests/server_test.c (cyg_test_exit):
1422
        * tests/socket_test.c (cyg_test_exit):
1423
        * tests/tcp_echo.c (cyg_test_exit):
1424
        Some eCos infrastructure changes caused, in some configurations,
1425
        cyg_test_exit() from the infrastructure to be brought in (in
1426
        tcdiag.o) even when the Test Case system was not explicitly being
1427
        invoked.  That fought with the convenience copy of cyg_test_exit()
1428
        in these tests.  The neatest fix is to use that provided centrally
1429
        where relevent, so that is what this change does.
1430
 
1431
        * tests/tcp_echo.c: Also now use granularity of 5% by default,
1432
        calibrate the load at 50%, and check and report the load that was
1433
        actually achieved after the test.
1434
 
1435
2000-03-29  John Dallaway  
1436
 
1437
        * doc/ecos_tcpip.html:
1438
 
1439
        Remove error-prone cross-reference to another eCos package.
1440
 
1441
        * doc/index.html:
1442
 
1443
        Synchronize index page title with web site.
1444
 
1445
2000-03-28  Gary Thomas  
1446
 
1447
        * src/lib/bootp_support.c (init_net): Need to start interface,
1448
        especially for manual/static IP configurations.
1449
 
1450
        * tests/nc_test_slave.c (calibrate_load): Better calibration for
1451
        slower targets.
1452
 
1453
2000-03-18  Gary Thomas  
1454
 
1455
        * src/sys/kern/sys_socket.c:
1456
        * src/sys/kern/sys_generic.c:
1457
        * include/sys/sockio.h: Add FIONBIO, FIOASYNC, FIONREAD functions.
1458
 
1459
        * include/machine/types.h: Make definitions safe for use with libc.
1460
 
1461
2000-03-08  Gary Thomas  
1462
 
1463
        * src/ecos/support.c: Remove some debug messages.
1464
        Update timed sleep functions (tsleep) to use scheduler lock
1465
        instead of brute-force interrupt locks.
1466
 
1467
2000-03-08  Hugo Tyson  
1468
 
1469
        * tests/tcp_echo.c (echo_test): Also enable, log and print out the
1470
        idle-thread activity during the test - this reassures us that
1471
        there is no [significant] spare time being wasted idling during
1472
        the test.  This change has no effect on the results at all.
1473
 
1474
2000-03-07  Hugo Tyson  
1475
 
1476
        * tests/tcp_echo.c (calibrate_load): Improve the accuracy of the
1477
        calibration with some post-scaling.  Change load to an array
1478
        accessor instead of register-based floating point - this is less
1479
        load, so more loops are needed, so the initial load level is upped
1480
        also.  More loops means better accuracy anyway, a good thing.
1481
 
1482
2000-03-06  Hugo Tyson  
1483
 
1484
        * tests/tcp_source.c (show_results): Print results in Mbit/S also.
1485
        (source_test): Warnings reduction; add some casts to sending and
1486
        receiving the control packets.
1487
        (NUM_BUF): becomes 1024; send more data to get thro'put result.
1488
 
1489
        * tests/tcp_sink.c (show_results): Print results in Mbit/S also.
1490
        (sink_test): Warnings reduction; add some casts to sending and
1491
        receiving the control packets.
1492
 
1493
        * tests/nc_test_master.c (show_results): Reinstate tot_bytes
1494
        variable for host testing tool version.  Print results in Mbit/S
1495
        also.
1496
 
1497
        * tests/nc_test_slave.c (net_test): Comment out starting multiple
1498
        threads; they fight over a wide-open socket.  One thread is
1499
        enough.
1500
 
1501
2000-03-06  Gary Thomas  
1502
 
1503
        * include/netdev.h: Update structure for improved API description.
1504
 
1505
2000-03-05  Gary Thomas  
1506
 
1507
        * include/network.h:
1508
        * include/sys/syscallargs.h:
1509
        * src/lib/accept.c:
1510
        * src/lib/bootp_support.c:
1511
        * src/lib/close.c:
1512
        * src/lib/getpeername.c:
1513
        * src/lib/getsockname.c:
1514
        * src/lib/recvfrom.c:
1515
        * tests/ftp_test.c:
1516
        * tests/nc_test_framework.h:
1517
        * tests/nc_test_master.c:
1518
        * tests/nc_test_slave.c:
1519
        * tests/ping_test.c:
1520
        * tests/server_test.c:
1521
        * tests/socket_test.c:
1522
        * tests/tcp_echo.c:
1523
        Cleanup to remove compiler warnings.
1524
 
1525
2000-03-04  Gary Thomas  
1526
 
1527
        * include/machine/param.h:
1528
        * include/sys/socketvar.h:
1529
        * src/ecos/timeout.c:
1530
        * src/sys/kern/kern_subr.c:
1531
        * src/sys/kern/sys_generic.c:
1532
        * src/sys/kern/sys_socket.c:
1533
        * src/sys/kern/uipc_mbuf.c:
1534
        * src/sys/kern/uipc_socket2.c:
1535
        * src/sys/kern/uipc_syscalls.c:
1536
        * src/sys/net/if_ethersubr.c:
1537
        * src/sys/net/if_loop.c:
1538
        * src/sys/net/route.c:
1539
        * src/sys/net/rtsock.c:
1540
        * src/sys/netinet/in_cksum.c:
1541
        * src/sys/netinet/in_pcb.c:
1542
        * src/sys/netinet/ip_input.c:
1543
        * src/sys/netinet/tcp_input.c:
1544
        * src/sys/netinet/tcp_output.c:
1545
        * src/sys/netinet/tcp_subr.c:
1546
        * src/sys/netinet/udp_usrreq.c:
1547
        Cleanup to remove compiler warnings.
1548
 
1549
2000-03-01  Gary Thomas  
1550
 
1551
        * tests/ping_test.c: Reorganize test, display error info.
1552
 
1553
        * src/lib/bootp_support.c: Add support for DNS options.
1554
 
1555
2000-02-29  Gary Thomas  
1556
 
1557
        * include/sys/sockio.h (SIOCSIFHWADDR): Add function to
1558
        set hardware (MAC) address via ioctl.
1559
 
1560
2000-02-28  John Dallaway  
1561
 
1562
        * cdl/net.cdl:
1563
 
1564
        Reparent cdl_interface CYGHWR_NET_DRIVER_ETH0_SETUP under
1565
        cdl_component CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS to
1566
        avoid a spurious conflict report when the latter is
1567
        inactive.
1568
 
1569
2000-02-25  John Dallaway  
1570
 
1571
        * cdl/net.cdl:
1572
 
1573
        Reparent cdl_interface CYGHWR_NET_DRIVER_ETH1_SETUP under
1574
        cdl_component CYGHWR_NET_DRIVER_ETH1_SETUP_OPTIONS to
1575
        avoid a spurious conflict report when the latter is
1576
        inactive.
1577
 
1578
2000-02-22  Gary Thomas  
1579
 
1580
        * include/netinet/if_ether.h:
1581
        * include/netinet/ip.h:
1582
        * include/netinet/ip_icmp.h:
1583
        * include/netinet/tcp.h:
1584
        * include/netinet/udp.h: More structure alignement fixes.
1585
 
1586
2000-02-21  Gary Thomas  
1587
 
1588
        * include/netinet/tcpip.h:
1589
        * include/netinet/udp_var.h: Force structure alignment.
1590
 
1591
2000-02-18  Gary Thomas  
1592
 
1593
        * tests/server_test.c: Target [client] address was wrong.
1594
 
1595
        * tests/tcp_source.c:
1596
        * tests/tcp_sink.c:
1597
        * tests/tcp_echo.c: New test suite.
1598
 
1599
2000-02-17  Gary Thomas  
1600
 
1601
        * tests/ping_test.c: Fix typo in startup message.
1602
 
1603
        * src/sys/net/route.c (route_reinit): New function - only here
1604
        until BOOTP problems can be found/fixed.
1605
 
1606
        * src/lib/bootp_support.c (do_bootp): Force any existing routes
1607
        to be reset since this causes a problem if BOOTP has been previously
1608
        run.  Also, the BOOTP request must be zeroed or the server will
1609
        get confused.
1610
 
1611
        * src/lib/network_support.c (init_all_network_interfaces):
1612
        Rearrange initialization so that all BOOTP activity takes place
1613
        before any permanent setups are in place.
1614
 
1615
2000-02-16  Gary Thomas  
1616
 
1617
        * src/sys/net/route.c (rtioctl): Add support for deleting routes.
1618
 
1619
        * src/lib/network_support.c (init_all_network_interfaces):
1620
        Support predefined IP configurations, as well as BOOTP.
1621
 
1622
        * tests/ping_test.c: Renamed from 'bootp_test.c'
1623
 
1624
        * src/lib/inet_addr.c:
1625
        * include/arpa/ftp.h:
1626
        * include/arpa/nameser.h:
1627
        * include/arpa/telnet.h:
1628
        * include/arpa/inet.h:
1629
        * include/arpa/tftp.h: New file(s).
1630
 
1631
2000-02-15  Gary Thomas  
1632
 
1633
        * src/lib/select.c: Add 'cyg_select_with_abort()' interface which
1634
        will allow 'select()' function to be abnormally terminated.  Add
1635
        new function 'cyg_select_abort()' which does this.
1636
 
1637
2000-02-15  Hugo Tyson  
1638
 
1639
        * cdl/net.cdl: Fix typo; cdl_interface CYGHWR_NET_DRIVER_ETH1 was
1640
        missing, so EBSA build was conflictual.
1641
 
1642
2000-02-14  Gary Thomas  
1643
 
1644
        * tests/bootp_test.c:
1645
        * tests/ftp_test.c:
1646
        * tests/nc_test_framework.h:
1647
        * tests/nc_test_master.c:
1648
        * tests/nc_test_slave.c:
1649
        * tests/server_test.c: Rework with automatic network initialization.
1650
        Includes support for multiple interfaces.
1651
 
1652
        * src/lib/network_support.c:
1653
        * include/network.h: New file(s).
1654
 
1655
        * cdl/net.cdl: New CDL to support multiple interfaces and their
1656
        configuration.  (Not complete yet).
1657
 
1658
2000-02-11  Gary Thomas  
1659
 
1660
        * src/lib/select.c (select): Add a way to abort selects (EINTR).
1661
 
1662
2000-02-10  Gary Thomas  
1663
 
1664
        * tests/nc_test_slave.c (calibrate_load): Slightly different algorithm,
1665
        which should work better on all platforms.
1666
 
1667
2000-02-09  Gary Thomas  
1668
 
1669
        * cdl/net.cdl: Add CYGPKG_NET_THREAD_PRIORITY to allow user more
1670
        control over how networking [anonymous] threads behave.
1671
 
1672
        * tests/nc_test_framework.h:
1673
        * tests/nc_test_slave.c:
1674
        * tests/nc_test_master.c: Support test mode with target CPU under
1675
        various loads.
1676
 
1677
2000-02-09  Hugo Tyson  
1678
 
1679
        * src/ecos/support.c (bcmp): Fix bug.  Missing pointer increments
1680
        meant that the zeroth byte only was compared.  Caused stack to
1681
        reject ARP packets - depending on MAC address order for particular
1682
        platform.
1683
 
1684
2000-02-09  Hugo Tyson  
1685
 
1686
        * tests/bootp_test.c:
1687
        * tests/ftp_test.c:
1688
        * tests/nc_test_master.c:
1689
        * tests/server_test.c:
1690
        * tests/socket_test.c:
1691
        Change stacksize of test thread to TYPICAL not MINIMAL - some
1692
        drivers eat more stack than others.  Generally:
1693
        -#define STACK_SIZE CYGNUM_HAL_STACK_SIZE_MINIMUM
1694
        +#define STACK_SIZE CYGNUM_HAL_STACK_SIZE_TYPICAL
1695
 
1696
2000-02-08  John Dallaway  
1697
 
1698
        * cdl/net.cdl:
1699
 
1700
        Tidy display strings.
1701
 
1702
#####ECOSPDCOPYRIGHTBEGIN####
1703
#
1704
# Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
1705
# All Rights Reserved.
1706
#
1707
# Permission is granted to use, copy, modify and redistribute this
1708
# file.
1709
#
1710
#####ECOSPDCOPYRIGHTEND####

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.