source: SVN/cambria/redboot/packages/io/eth/current/ChangeLog @ 1

Last change on this file since 1 was 1, checked in by Tim Harvey, 2 years ago

restored latest version of files from server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 23.8 KB
Line 
12004-08-06  Jani Monoses <jani@iv.ro>
2
3        * src/stand_alone/eth_drv.c: Add parantheses to fix operator
4        precedence bugs even though they were harmless in practice.
5
62004-01-09  Jani Monoses <jani@iv.ro>
7
8        * include/eth_drv.h:
9        * src/lwip/eth_drv.c: Update to support more than one device and
10        be in sync with current lwip code.
11       
122004-01-05  Gary Thomas  <gary@mlbassoc.com>
13
14        * src/net/eth_drv.c: Names of FLASH config types changed.
15
162003-10-09  Gary Thomas  <gary@mlbassoc.com>
17
18        * src/stand_alone/eth_drv.c: Obviate __local_enet_addr, since this
19        same information is already kept in the driver structure *__local_enet_sc
20
212003-08-19  Gary Thomas  <gary@mlbassoc.com>
22
23        * src/stand_alone/eth_drv.c:
24        * src/net/eth_drv.c: Improve network speeds by reducing some
25        overhead and also the delay when sending a packet.
26
272003-07-23  Nick Garnett  <nickg@balti.calivar.com>
28
29        * include/eth_drv.h:
30        * src/net/eth_drv.c:
31        Added an ifndef to fix warnings about NBPFILTER not being
32        defined.
33
342003-03-20  Mark Salter  <msalter@redhat.com>
35
36        * cdl/eth_drivers.cdl (CYGHWR_NET_DRIVERS): Moved here from net/common.
37
382003-03-14  Nick Garnett  <nickg@calivar.com>
39
40        * src/net/eth_drv.c: Added calls to cyg_net_show_mbufs() whenever
41        we see an out-of-mbufs problem.
42
432003-03-11  Mark Salter  <msalter@redhat.com>
44
45        * src/stand_alone/eth_drv.c (eth_drv_stop): Uncomment, make non-static,
46        and use __local_enet_sc.
47        * include/eth_drv.h: Add extern decl for eth_drv_stop.
48
492003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
50
51        * cdl/eth_drivers.cdl: Add doc link.
52
532003-02-07  Jonathan Larmour  <jifl@eCosCentric.com>
54
55        * src/net/eth_drv.c: If driver can't set multi-cast, indicate it's
56        only a warning.
57
582002-08-14  Gary Thomas  <gthomas@ecoscentric.com>
59
60        * cdl/eth_drivers.cdl: CYGNUM_IO_ETH_DRIVERS_SG_LIST_SIZE
61        needs to be global (used by all drivers, not just NET).
62
632002-08-13  Gary Thomas  <gthomas@ecoscentric.com>
64
65        * src/net/eth_drv.c (eth_drv_send): Print a better message
66        if the scatter-gather list overflows.
67
68        * include/eth_drv.h (MAX_ETH_DRV_SG):
69        * cdl/eth_drivers.cdl: Add control over size of scatter-gather
70        data lists used to pass requests to physical layer.  Previous
71        value was sometimes too small.
72
732002-07-31  Gary Thomas  <gary@chez-thomas.org>
74
75        * src/net/eth_drv.c (eth_drv_start): Fix compile error when
76        built with old stack (no multicast) - introduced below.
77
782002-07-26  Gary Thomas  <gary@chez-thomas.org>
792002-07-26  Ken Cox <jkc@redhat.com>
80
81        * src/net/eth_drv.c (eth_drv_start): Force multicast address
82        setup any time chip is reset/reconfigured.
83
842002-05-30  Jonathan Larmour  <jlarmour@redhat.com>
85
86        * cdl/eth_drivers.cdl: Provide CYGINT_IO_ETH_INT_SUPPORT_REQUIRED
87        interface to indicate if interrupt support is required.
88
892002-05-28  Jonathan Larmour  <jlarmour@redhat.com>
90
91        * src/lwip/lw.diff: Remove. Obsolete.
92
932002-05-13  Jesper Skov  <jskov@redhat.com>
94
95        * cdl/eth_drivers.cdl: Moved the package's header files to
96        cyg/io/eth to clean up the include root directory.
97
982002-04-30  Jonathan Larmour  <jlarmour@redhat.com>
99
100        * src/lwip/eth_drv.c: Update from Jani Monoses.
101
102        * cdl/eth_drivers.cdl: Move CYGINT_ISO_STRING_STRFUNCS requirement
103        into CYGPKG_IO_ETH_DRIVERS_NET where it belongs.
104        Move CYGINT_ISO_STRING_MEMFUNCS requirement into
105        CYGPKG_IO_ETH_DRIVERS_STAND_ALONE where it belongs.
106
1072002-04-10   Gary Thomas <gthomas@redhat.com>
108
109        * src/net/eth_drv.c: Only pass mutlicast addresses down to drivers.     
110
1112002-04-05   Jani Monoses  <jani@iv.ro>
112
113        * src/lwip/eth_drv.c: New file. Add eth driver support for lwip.
114        * src/lwip/lw.diff: New file. diff against lwip sources.
115        * src/lwip/README: New file.
116        * cdl/eth_drivers.cdl: Add lwip driver support.
117
1182002-03-09  Gary Thomas  <gthomas@redhat.com>
119
120        * src/net/eth_drv.c: Select 'multicast_all' if too many addresses
121        are required.  Also, ignore any non-multicast addresses.
122
1232002-02-22  Hugo Tyson  <hmt@redhat.com>
124
125        * doc/ethdrv.sgml: New file.  SGML-ized the existing driver-doc
126        file and brought the information up to date with deliver functions
127        and all that.
128
1292002-02-18  Gary Thomas  <gthomas@redhat.com>
130
131        * cdl/eth_drivers.cdl:
132        Add new interface CYGINT_IO_ETH_MULTICAST which is used to
133        insure that drivers support multicast addresses if IPv6 is used.
134
1352002-02-15  Gary Thomas  <gthomas@redhat.com>
136
137        * src/net/eth_drv.c:
138        * include/eth_drv.h: Add framework for multicast address support.
139
1402002-01-30  Hugo Tyson  <hmt@redhat.com>
141
142        * cdl/eth_drivers.cdl (CYGPKG_IO_ETH_DRIVERS_WARN_FORCE_CONSOLE):
143        CDL options removed; control is now from RedBoot.
144
145        * src/net/eth_drv.c (START_CONSOLE): Changed to use RedBoot
146        fconfig items for deciding what console to use for special debug
147        messages such as "out of MBUFs" and the like.
148
149        * src/stand_alone/eth_drv.c (LOCK_APPLICATION_SCHEDULER): New
150        macro to do what it says, before passing packets to the app.
151        Used in two places: when passing a received packet, and when
152        passing a tx completion status back.
153
1542002-01-28  Gary Thomas  <gthomas@redhat.com>
155
156        * src/net/eth_drv.c (eth_drv_init): Changes for supporting new
157        FreeBSD based stack (minor API changes internal to that stack).
158
1592001-12-12  Hugo Tyson  <hmt@redhat.com>
160
161        * src/net/eth_drv.c (START_CONSOLE,END_CONSOLE): New macros akin
162        to those within RedBoot's internal net_io.c, for directing warning
163        messages to a serial line if required.  All printf's wrapped in
164        them for safety.
165
166        * cdl/eth_drivers.cdl (CYGPKG_IO_ETH_DRIVERS_WARN_FORCE_CONSOLE):
167        and ..._NUMBER, new options to direct application warning output
168        somewhere useful (less harmful) for when you are debugging over
169        the net.  Trying to print within a call which occurred from within
170        RedBoot itself is such a recursive situation as to be fatal.
171        Defaults are disabled, you must choose to set these up if
172        you want to debug your app safely over the network.
173
1742001-12-12  Hugo Tyson  <hmt@redhat.com>
175
176        * src/stand_alone/eth_drv.c (DIAG_DUMP_BUF_HDR,DIAG_DUMP_BUF_BDY):
177        Separate macros for debug dumps of ethernet header and body.
178        (eth_drv_write): Use them.
179        (eth_drv_copy_recv): Do not corrupt the static data pointer, so
180        that if we are erroneously called twice, at least what we pass is
181        a packet, rather than random memory; do not escape to SEGV.  Guard
182        against NULL sg_list[].buf pointers, in case caller out of MBUFs.
183        (eth_drv_recv): Only dump packet if we actually have a buffer.
184        Only forward the packet if actually have a buffer.
185
1862001-12-04  Richard Sandiford  <rsandifo@redhat.com>
187
188        * src/stand_alone/eth_drv.c (eth_drv_read): Check that the return
189        buffer is big enough to hold the packet.
190
1912001-11-28  Jonathan Larmour  <jlarmour@redhat.com>
192
193        * doc/driver_doc: Mention preferences on how the ESA should be set.
194
1952001-10-30  Jonathan Larmour  <jlarmour@redhat.com>
196
197        * doc/driver_doc: Add description of poll, deliver and int_vector
198        driver functions.
199
2002001-10-29  Hugo Tyson  <hmt@redhat.com>
201
202        * src/net/eth_drv.c (eth_drv_tickle_devices): [CASE 106613] Rather
203        than calling can_send() in the device driver directly, call our
204        own eth_drv_send() function which will also dequeue a waiting
205        packet if we find we indeed can_send().  This helps to recover
206        from queue full situations within the if_ethersubr layer above.
207        This change is belt & braces with a similar call in the code which
208        drops a packet if the queue is full, in the main network code in
209        net/tcpip/.../src/sys/net/if_ethersubr.c (ether_output); this
210        change will recover the situation shortly even if the application
211        gives up trying to send because of ENOBUFS.
212
2132001-10-18  Jonathan Larmour  <jlarmour@redhat.com>
214
215        * cdl/eth_drivers.cdl: Rename CYGSEM_IO_ETH_DRIVERS_DEBUG to
216        CYGDBG_IO_ETH_DRIVERS_DEBUG and make it a common option.
217        Add separate CYGDBG_IO_ETH_DRIVERS_DEBUG_VERBOSITY config.
218
219        * include/eth_drv.h: Don't claim BSD if it isn't.
220        * include/eth_drv_stats.h: Ditto.
221        * include/netdev.h: Ditto.
222        * src/net/eth_drv.c: Ditto.
223        Also use above CDL options to conditionalize debugging (and the
224        verbosity level).
225        * src/stand_alone/eth_drv.c: Use above renamed CDL options.
226
2272001-10-11  Gary Thomas  <gthomas@redhat.com>
228
229        * src/stand_alone/eth_drv.c (eth_drv_recv):
230        Defensive programming - insure valid packet size.
231
2322001-10-05  Jonathan Larmour  <jlarmour@redhat.com>
233
234        * src/net/eth_drv.c: Add default implementation of min().
235
2362001-09-26  Jesper Skov  <jskov@redhat.com>
237
238        * cdl/eth_drivers.cdl: Require the string functions.
239
240        * src/stand_alone/eth_drv.c: Fix warnings.
241
2422001-09-25  Hugo Tyson  <hmt@redhat.com>
243
244        * src/net/eth_drv.c (eth_drv_dsr): Assert that the "sc" given to
245        eth_drv_dsr() really is a sc from the valid list.  This can save a
246        few hours debug time of a typo.
247
2482001-09-13  Hugo Tyson  <hmt@redhat.com>
249
250        * src/net/eth_drv.c (eth_drv_tickle_devices): New function to call
251        can_send() on all devices to allow them to unstick from a lost
252        interrupt or other wedge - it's up to the device to detect this,
253        of course, can_send() does not explicitly do this, it's just used
254        as an opportunity harmlessly to get control into the device so it
255        can examine its world.
256
2572001-09-05  Gary Thomas  <gthomas@redhat.com>
258
259        * src/stand_alone/eth_drv.c (eth_drv_init): Don't initialize
260        structures if ESA is zero.  This is used by low level drivers
261        to indicate that a device is present, but can't currently be
262        used.  The eCos driver handles this case as well.
263
2642001-08-31  Hugo Tyson  <hmt@redhat.com>
2652001-08-31  Andrew Lunn <Andrew.Lunn@ascom.ch>
266
267        * src/net/eth_drv.c (eth_drv_tx_done): Guard against a NULL key
268        return - which can be caused by race conditions in the driver,
269        this is the neatest fixup.  It's good defensive programming
270        anyway and ASCOM's tests indicate a benefit for CASE 106059.
271
2722001-08-22  Gary Thomas  <gthomas@redhat.com>
273
274        * src/stand_alone/eth_drv.c:
275        printf() is no longer a part of RedBoot.  Thus all programs
276        must use diag_printf() and related functions instead.
277
278        * cdl/eth_drivers.cdl: Only enable warning/debug modes if RedBoot
279        is present as the debug environment (since there are implicit
280        dependencies on RedBoot functions).
281
2822001-08-20  Jonathan Larmour  <jlarmour@redhat.com>
283
284        * src/net/eth_drv.c (eth_drv_send): Move endif location to fix build
285        error.
286
2872001-08-17  Jonathan Larmour  <jlarmour@redhat.com>
288
289        * cdl/eth_drivers.cdl (CYGSEM_IO_ETH_DRIVERS_DEBUG): Now booldata.
290        * src/stand_along/eth_drv.c (eth_drv_tx_done): Use different
291        value of CYGSEM_IO_ETH_DRIVERS_DEBUG for verbosity.
292
2932001-08-14  Gary Thomas  <gthomas@redhat.com>
294
295        * src/stand_alone/eth_drv.c (eth_drv_write):
296        (eth_drv_tx_done):
297        (eth_drv_read): Better handling of stacking (layering) of drivers.
298        RedBoot (stand alone code) is designed to call into the eCos
299        stack and these changes make sure that this is done properly
300        nested/stacked.  These changes also affect the behaviour positively
301        for CR 902745-CR.
302
303        * src/net/eth_drv.c (eth_drv_send): Add locking of driver while
304        actual hardware routines are involved.  Since the same driver
305        can be shared by both eCos and RedBoot, it is imperative that
306        additional locking (in the form of locking the scheduler) be
307        employed during this window to make sure that the hardware is
308        handled in complete, consistent steps.  This helps with known
309        bug CR 902745-CR.
310
3112001-08-09  Hugo Tyson  <hmt@redhat.com>
312
313        * src/net/eth_drv.c (eth_drv_recv): Add a pair of
314        CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP() on entry and exit;
315        this function is intercalled between RedBoot and the application.
316        A minor re-org at the ending to accommodate these macros' nesting.
317        (eth_drv_tx_done): CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP().
318
319        * src/stand_alone/eth_drv.c (eth_drv_tx_done): Add a pair of
320        CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP() on entry and exit;
321        this function is intercalled between RedBoot and the application.
322        Also make printing message about "tx_done for other key" also
323        conditional on net_debug variable - it's commonplace.
324        (eth_drv_recv): CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP().
325        (eth_drv_copy_recv): CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP().
326
3272001-07-03  Gary Thomas  <gthomas@redhat.com>
328
329        * src/net/eth_drv.c (eth_drv_recv): Better cleanup when running
330        out of mbufs - could have lost mbufs before.
331
3322001-06-21  David Woodhouse <dwmw2@redhat.com>
333
334        * src/stand_alone/eth_drv.c: Timeout when waiting for Ethernet
335        driver to finish sending packet.
336        * src/stand_alone/eth_drv.c: Don't delay if it's ready immediately.
337
3382001-06-11  Gary Thomas  <gthomas@redhat.com>
339
340        * cdl/eth_drivers.cdl: Make debug default for RedBoot.
341
3422001-05-22  Jonathan Larmour  <jlarmour@redhat.com>
343
344        * cdl/eth_drivers.cdl: New option: CYGSEM_IO_ETH_DRIVERS_PASS_PACKETS
345        which replaces the static define in...
346        * src/stand_alone_eth_drv.c: Rename ETH_DRV_PASS_PACKETS to
347        new CDL option above.
348        Also, ensure references to start_console/end_console are conditional
349        on CYGSEM_IO_ETH_DRIVERS_DEBUG.
350
3512001-05-22  Hugo Tyson  <hmt@redhat.com>
3522001-05-22  Sanjay Bisen <Sanjay.Bisen@ascom.ch>
353
354        * src/net/eth_drv.c (eth_drv_recv): Patch from Sanjay at Ascom; it
355        leaked one mbuf if you run out of clusters.  Fix is simply to
356        free m in addition to top.
357
358        * src/net/eth_drv.c (eth_drv_run_deliveries): Fixed a warning with
359        an int cast in HAL_CTRLC_CHECK().
360
3612001-03-21  Gary Thomas  <gthomas@redhat.com>
362
363        * cdl/eth_drivers.cdl: Fewer buffers needed in stand-alone mode.
364
3652001-03-12  Hugo Tyson  <hmt@redhat.com>
366
367        * cdl/eth_drivers.cdl: Permit defines for
368        CYGPKG_IO_ETH_DRIVERS_STAND_ALONE and CYGPKG_IO_ETH_DRIVERS_NET.
369        The generic i82559 driver needs to know, unfortunately; it calls
370        its own DSR directly to unblock after a lost interrupt.  And you
371        mustn't call the DSR under RedBoot == ....STAND_ALONE.
372
3732001-01-15  Jesper Skov  <jskov@redhat.com>
374
375        * src/net/eth_drv.c (eth_drv_init): Do not use enaddr if NULL.
376
3772001-01-07  Gary Thomas  <gthomas@redhat.com>
378
379        * cdl/eth_drivers.cdl: Add interface 'CYGPKG_NET_DRIVER_FRAMEWORK'
380        to describe interdependencies between network stack and driver
381        framework packages.
382
3832001-01-04  Gary Thomas  <gthomas@redhat.com>
384
385        * src/net/eth_drv.c (eth_drv_tx_done): Update count of Tx packets.
386
3872000-12-11  Gary Thomas  <gthomas@redhat.com>
388
389        * src/net/eth_drv.c (eth_drv_run_deliveries): Support ^C when
390        using network based debug channel.
391
3922000-12-02  Gary Thomas  <gthomas@redhat.com>
393
394        * src/stand_alone/eth_drv.c (eth_drv_write): Debug: dump packet
395        before calling hardware routine for improved usability.
396
3972000-10-30  Gary Thomas  <gthomas@redhat.com>
398
399        * include/eth_drv.h: Fix compile error in stand-alone mode.
400
4012000-10-17  Hugo Tyson  <hmt@redhat.com>
4022000-10-10  Andrew Lunn <Andrew.Lunn@ascom.ch>
403        * cdl/eth_drivers.cdl: Add configury to disable the warnings about
404        out of mbufs for receives.
405
406        * src/net/eth_drv.c: The changes required for the above.
407
4082000-09-28  Hugo Tyson  <hmt@redhat.com>
409
410        * src/net/eth_drv.c (eth_drv_run_deliveries): Remove race
411        condition; a chance to deliver could be delayed until "next time"
412        if the DSR snuck in just right.
413
4142000-09-14  Hugo Tyson  <hmt@redhat.com>
415
416        * cdl/eth_drivers.cdl: Add configury to control new features.  All
417        is controlled globally by CYGPKG_IO_ETH_DRIVERS_SIMULATED_FAILURES
418        which is by default off, natch.
419
420        * src/net/eth_drv.c (simulate_fail): Implement simulated failures
421        in ethernet packet delivery - independent tx and rx dropping and
422        rx packet corruption.  Also a "line break" drop-all feature.
423
4242000-09-13  Gary Thomas  <gthomas@redhat.com>
425
426        * src/stand_alone/eth_drv.c: Take out noisy dump when out of buffers.
427
4282000-09-11  Hugo Tyson  <hmt@cygnus.co.uk>
429
430        * src/stand_alone/eth_drv.c (eth_drv_write): If we timeout waiting
431        for the write to complete, do reset the vectors to point to the
432        application, rather just a bald "return".
433
4342000-09-08  Hugo Tyson  <hmt@cygnus.co.uk>
435
436        * include/netdev.h (NETDEVTAB_ENTRY): Work around feature of new
437        version of CYG_HAL_TABLE_ENTRY() whereby no spaces are allowed.
438
4392000-09-07  Jonathan Larmour  <jlarmour@redhat.com>
440
441        * include/netdev.h (cyg_netdevtab_entry_t): Correct syntax for
442        CYG_HAL_TABLE_TYPE
443
4442000-09-04  Jonathan Larmour  <jlarmour@redhat.com>
445
446        * include/netdev.h (cyg_netdevtab_entry_t): Apply CYG_HAL_TABLE_TYPE
447
4482000-09-01  Hugo Tyson  <hmt@cygnus.co.uk>
449
450        * src/stand_alone/eth_drv.c (eth_drv_dsr): New function, never
451        called but maybe referenced in stand_alone context, which lets
452        redboot work in the new world.
453
4542000-09-01  Hugo Tyson  <hmt@cygnus.co.uk>
455
456        * OVERVIEW: This is part of the change to the network stack to
457        greatly reduce latencies both of (other) DSRs and of thread
458        scheduling.  All the work that the network stack *and* individual
459        ether drivers used to do in DSRs (including alarm callbacks and
460        data copies to/from the device memory) is moved into a "fast
461        network thread" instead.  It calls a device's "deliver" function
462        to do the work that was previously in the DSR.  This is a separate
463        thread so that it can be set higher priority than application
464        threads in order to minimize packet loss (depending on the
465        driver), if required (the application threads presumed to be
466        higher priority in turn than the network thread).  A crucial
467        consequence of this is that we are no longer locking against DSRs,
468        so a plain mutex can be used rather than the global scheduler
469        lock, thus simplifying all the splfoo/splx() style functions.
470
471        These changes WILL BREAK individual device drivers until they are
472        updated AND the standalone logical ether driver in this component,
473        until it is updated also.
474
475        * include/eth_drv.h (ETH_DRV_SC): Add "deliver" entry to struct
476        eth_hwr_funs interface record; declare available DSR and flag for
477        "needs delivery" in SC status field.
478
479        * src/net/eth_drv.c (eth_drv_run_deliveries): New function,
480        performs callbacks to deliver funcs for all devs that want it.
481        (eth_drv_dsr): New function, sets flag in sc and calls up to net
482        stack to schedule the fast network thread.
483        (eth_drv_send): No need to lock scheduler here.
484
4852000-08-29  Gary Thomas  <gthomas@redhat.com>
486
487        * src/stand_alone/eth_drv.c: Use null buffer, (char *)0,
488        instead of wasting memory - low level drivers must be designed
489        to handle this case.
490
4912000-08-28  Gary Thomas  <gthomas@redhat.com>
492
493        * src/stand_alone/eth_drv.c: Use new configuration parameters.
494
495        * cdl/eth_drivers.cdl: Add new configury to control number of
496        internal buffers used by this layer.  Also exposed some of the
497        debug flags here.
498
4992000-08-25  Hugo Tyson  <hmt@cygnus.co.uk>
500
501        * include/eth_drv_stats.h (ether_drv_stats): A little further
502        diddling; have a bool to say whether the dot3 info is filled in.
503
5042000-08-24  Hugo Tyson  <hmt@cygnus.co.uk>
505
506        * src/net/eth_drv.c (eth_drv_ioctl): Implement ioctl() calls.
507        sockio.h numbers SIOCGIFSTATS and SIOCGIFSTATSUD map to
508        ETH_DRV_GET_IF_STATS and ETH_DRV_GET_IF_STATS_UD respectively.
509
510        * include/eth_drv.h (ETH_DRV_GET_IF_STATS_UD): Add new device
511        interface ioctl() numbers, to get the struct below filled in.
512        Also pull in the definition include file (below).
513
514        * include/eth_drv_stats.h (ether_drv_stats): New file: Define
515        common structure for ether devices to return stats info to higher
516        up, via an ioctl() call.  SNMP uses this.
517
5182000-08-23  Gary Thomas  <gthomas@redhat.com>
519
520        * src/stand_alone/eth_drv.c:
521        * include/eth_drv.h: Low level drivers now need to export a
522        function which returns the interrupt vector used by that interface.
523        This allows outside code to determine this in a portable fashion.
524
5252000-08-16  Gary Thomas  <gthomas@redhat.com>
526
527        * src/stand_alone/eth_drv.c:
528        * include/eth_drv.h: Clean up warnings (better protyping).
529
530        * src/stand_alone/eth_drv.c (eth_drv_write): Abandon sending
531        packet if device goes not ready for a long time (in some cases,
532        this is the only indication that the link is down).
533
5342000-08-07  Gary Thomas  <gthomas@redhat.com>
535
536        * src/net/eth_drv.c (eth_drv_recv): Add safety in case this gets
537        called [from stand-alone code] while interface is not up.
538       
539        * src/stand_alone/eth_drv.c:
540        * include/eth_drv.h: Rework to more fully support mixed stand-alone
541        and system (eCos) stacks.
542
5432000-08-03  Gary Thomas  <gthomas@redhat.com>
544
545        * cdl/eth_drivers.cdl: Reparent within I/O, not NET.  This allows
546        for stand-alone use as well as support for other stack implementations.
547
5482000-07-28  Hugo Tyson  <hmt@cygnus.co.uk>
549
550        * src/eth_drv.c (eth_drv_recv): Assert that the length we're asked
551        to deal with is at least an ether header, and also be defensive in
552        any case; discard small packets.  [CASE 104206]
553
5542000-07-26  Gary Thomas  <gthomas@redhat.com>
555
556        * src/eth_drv.c:
557        * include/eth_drv.h: Change interfaces used by hardware layer to
558        be "soft" (pointers to functions).  This will allow those drivers
559        to be shared by applications and the ROM/debug environment.
560
5612000-07-15  Gary Thomas  <gthomas@redhat.com>
562
563        * include/eth_drv.h: Add [initial] extensions to let this
564        layer work either in an eCos environment or stand-alone.
565
5662000-07-11  Gary Thomas  <gthomas@redhat.com>
567
568        * include/eth_drv.h: Add minimal PCMCIA support.
569
570        * src/eth_drv.c (eth_drv_netdev): New function - used to find the
571        ethernet device info for PCMCIA devices.
572
5732000-06-23  Hugo Tyson  <hmt@cygnus.co.uk>
574
575        * src/eth_drv.c (eth_drv_send): Do not consume an SG entry for
576        zero length data; tolerate overflow of the SG.  Before this, pings
577        of 6000 bytes crashed the system!
578
579        You can now set net_debug to 2 to get quieter output; 1 gives the
580        whole packet dump as before.
581
582        * include/eth_drv.h (MAX_ETH_DRV_SG): Make this 16 so that an MTU
583        made of all mbufs will not overflow.
584
5852000-03-28  Gary Thomas  <gthomas@redhat.com>
586
587        * src/eth_drv.c (eth_drv_recv): Tolerate running out of MBUFs
588        instead of "panic"ing.
589
5902000-03-08  Gary Thomas  <gthomas@redhat.com>
591
592        * src/eth_drv.c: Add some function [block] comments.
593        (eth_drv_send): Use eCos scheduler lock instead of interrupt lock.
594
5952000-03-08  Hugo Tyson  <hmt@cygnus.co.uk>
596
597        * doc/driver_doc: Add some clarification about what's called when,
598        proofreading results, shorter lines so I can print it nicely.
599
6002000-03-06  Gary Thomas  <gthomas@redhat.com>
601
602        * src/eth_drv.c:
603        * include/eth_drv.h:
604        * doc/driver_doc: Remove generic "priv"ate references.
605
6062000-02-29  Gary Thomas  <gthomas@cygnus.co.uk>
607
608        * src/eth_drv.c:
609        * include/eth_drv.h: New expanded API for hardware drivers.
610
6112000-02-18  Gary Thomas  <gthomas@cygnus.co.uk>
612
613        * src/eth_drv.c (eth_drv_send): Disable interrupts while initiating
614        the buffer send - avoid a possible race.
615
6162000-02-08  John Dallaway  <jld@cygnus.co.uk>
617
618        * cdl/eth_drivers.cdl:
619        Reparent under CYGPKG_NET and tidy display strings.
620
621//===========================================================================
622//####ECOSGPLCOPYRIGHTBEGIN####
623// -------------------------------------------
624// This file is part of eCos, the Embedded Configurable Operating System.
625// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
626//
627// eCos is free software; you can redistribute it and/or modify it under
628// the terms of the GNU General Public License as published by the Free
629// Software Foundation; either version 2 or (at your option) any later version.
630//
631// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
632// WARRANTY; without even the implied warranty of MERCHANTABILITY or
633// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
634// for more details.
635//
636// You should have received a copy of the GNU General Public License along
637// with eCos; if not, write to the Free Software Foundation, Inc.,
638// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
639//
640// As a special exception, if other files instantiate templates or use macros
641// or inline functions from this file, or you compile this file and link it
642// with other works to produce a work based on this file, this file does not
643// by itself cause the resulting work to be covered by the GNU General Public
644// License. However the source code for this file must still be made available
645// in accordance with section (3) of the GNU General Public License.
646//
647// This exception does not invalidate any other reasons why a work based on
648// this file might be covered by the GNU General Public License.
649//
650// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
651// at http://sources.redhat.com/ecos/ecos-license/
652// -------------------------------------------
653//####ECOSGPLCOPYRIGHTEND####
654//===========================================================================
655       
656       
657
Note: See TracBrowser for help on using the repository browser.