source: libbsdport/bsd_eth_drivers/ChangeLog

Last change on this file was af30847, checked in by Till Straumann <strauman@…>, on Aug 5, 2011 at 12:12:36 AM

2011-08-04 Till Straumann <Till.Straumann@…>

  • libbsdport/devicet.h, libbsdport/ifmedia.c: rtems-4.11 moved <queue.h>, and <cdefs.h> to newlib. Added a version-test macro to catch this case.
  • Property mode set to 100644
File size: 6.5 KB
Line 
12011-08-04 Till Straumann <Till.Straumann@TU-Berlin.de>
2
3        * libbsdport/devicet.h, libbsdport/ifmedia.c: rtems-4.11 moved
4        <queue.h>, and <cdefs.h> to newlib. Added a version-test macro
5        to catch this case.
6
72011-07-21 Till Straumann <Till.Straumann@TU-Berlin.de>
8
9        * if_em/e1000_osdep.h, if_em/e1000_osdep.c, if_em/if_em.c:
10        added e1000_register()/e1000_unregister() to keep track of
11        devices that are 'in-use'. This allows for sharing the low-level
12        code between bsdnet and standalone drivers (e.g., for PtP
13        GigE links).
14
152011-07-20 Till Straumann <Till.Straumann@TU-Berlin.de>
16       
17        * if_em/Makefile.am, if_em/e1000_osdep.h, if_em/e1000_osdep.c,
18        if_em/if_em.c: added e1000_osdep.c which implements all
19        os-dependent parts in a bsdnet-agnostic fashion. Hence, the
20        low-level driver can be used w/o bsdnet.
21        FIXES: dependency on bsdnet initialization; PCI bus header
22        was not initialized when not used via bsdnet (lanIpBasic driver
23        crashed).
24
252010-07-23 Till Straumann <Till.Straumann@TU-Berlin.de>
26
27        * libbsdport/devicet.c: Initialize libbspExt.
28
292010-06-30  Till Straumann <Till.Straumann@TU-Berlin.de>
30
31        * libbsdport/bus.h: PPC's inlines from libcpu/io.h still have
32        un-intuitive argument types (e.g., unsigned instead of uint32_t).
33        Added additional 'iotype' arg to BUS_SPACE_DECL macro (ppc only)
34        so that we can cast to the correct type as expected by libcpu/io.h.
35        Hopefully that doesn't bring us into C99 alias hell.
36
37        * libbsdport/devicet.c: Silence compiler warnings by casting (char)
38        argument passed to 'ctype.h' functions [toupper + friends] ->
39        (unsigned char) as these functions expect 'int'.
40       
412010-03-07  Till Straumann <Till.Straumann@TU-Berlin.de>
42
43        * links.am: POSIXified sed commands for sake of portability.
44
452010-02-12  Till Straumann <Till.Straumann@TU-Berlin.de>
46
47        * libbsdport/Makefile.am: Removed obsolete (and commented)
48        stuff.
49
502009-10-20  Till Straumann <Till.Straumann@TU-Berlin.de>
51
52        * libbsdport/libbsdport.h, if_em/e1000_osdep.h:
53        We need __BSD_VISIBLE defined. Some things in the rtems headers
54        changed with 4.10 (can't pinpoint the details). We now
55        #define __INSIDE_RTEMS_BSD_TCPIP_STACK__ before explicitly
56        including <rtems/rtems_bsdnet.h> and this seemed to fix
57        things for 4.10.
58
592009-10-20  Till Straumann <Till.Straumann@TU-Berlin.de>
60
61        * libbsdport/libbsdport_post.h: added missing declaration
62        of m_defrag() (Chris replaced the dummy #define a while
63        ago and provided an implementation instead [thanks!] but
64        we also need a declaration).
65
662009-10-20  Till Straumann <Till.Straumann@TU-Berlin.de>
67
68        * libbsdport/ifmedia.c: fixed 'unused variable' warning
69        by removing unused var.
70
712009-10-20  Till Straumann <Till.Straumann@TU-Berlin.de>
72
73        * if_re/if_re.c: fixed 'unused variable' warning by
74        commenting via #ifndef __rtems__ (since code which uses
75        the 'msi_disable' var is commented the same way).
76
772009-10-20  Till Straumann <Till.Straumann@TU-Berlin.de>
78
79        * if_pcn/if_pcn.c: fixed 'type-punned pointer' warning.
80        Use 'memcpy' to copy 2 bytes to a short. This requires
81        another #ifdef __rtems__, however.
82
832009-10-20  Till Straumann <Till.Straumann@TU-Berlin.de>
84
85        * if_bge/if_bge.c: bge_intr must be passed as a 'handler'
86        to bus_setup_intr(). However, the irq_check_dis and irq_enable
87        methods seem to still be skeletons so this driver won't work...
88        (I have no hardware or emulation available to test).
89       
902009-10-20      Joel Sherrill <joel.sherrill@OARcorp.com>
91
92        * libbsdport/alldrv.c: Revert.
93
942009-10-20      Joel Sherrill <joel.sherrill@OARcorp.com>
95
96        * if_bge/if_bge.c, libbsdport/alldrv.c: Add local changes (untested).
97
982009-09-12  Chris Johns <chrisj@rtems.org>
99
100        * links.am: Fixed the links so they work with absolute paths.
101
1022009-08-15  Till Straumann <Till.Straumann@TU-Berlin.de>
103
104        * if_re/Makefile.am: added 'if_rlreg.h' to SOURCES so
105        that it is 'distributed'.
106
1072009-08-15  Till Straumann <Till.Straumann@TU-Berlin.de>
108
109        * if_em/31000_osdep.h: added missing 'void' return
110        type of __out_le32() inline function.
111
1122009-08-06  Till Straumann <Till.Straumann@TU-Berlin.de>
113
114        * libbsdport/rtems_callout.c: fixed possible race
115        condition. callout_stop() must check again from
116        critical/protected section of code if callout is still on
117        the list/active. Otherwise, the callout-task could
118        have executed and removed the callout between
119        callout_stop() checking the p_prev pointer and
120        entering the critical section.
121
1222009-08-05  Till Straumann <Till.Straumann@TU-Berlin.de>
123
124        * if_em/Makefile.am, if_em/e1000_osdep.h, if_em/if_em.c:
125        Changed 'e1000_osdep.h' to provide stdalone I/O methods for
126        select architectures (x86 and PPC -- others fall back on
127        libbsdport/bus.h). This lets the low-level driver (everything
128        except for 'if_em.c/if_em.h') API be independent of
129        BSD networking and libbsdport which is desirable since
130        certain applications may wish to just use the low-level
131        API for implementing dedicated 'raw-ethernet' drivers
132        for BSD-independent, proprietary GigE communication.
133
1342009-08-05  Till Straumann <Till.Straumann@TU-Berlin.de>
135
136        * libbsdport/alldrv.c: reactivate weak aliases for all
137        known/supported drivers. This magic allows the user to
138        just link the desired (sub-)set of drivers.
139
1402009-08-05  Till Straumann <Till.Straumann@TU-Berlin.de>
141
142        * libbsdport/libbsdport.h: define _KERNEL only if not defined already
143        (e.g., from Makefile).
144
1452009-06-04      Joel Sherrill <joel.sherrill@oarcorp.com>
146
147        * libbsdport/alldrv.c, libbsdport/libbsdport_api.h: Add include
148        <stdio.h> for FILE *.
149
150        2009/05/12 (TS)
151        - bugfix: bus_write_2() must map to bus_space_write_2 (not 4)
152        2009/04/22 (TS)
153        - imported SLAC version into OAR repository; added FXP driver.
154        2008/03/22 (TS)
155        - silence more compiler warnings:
156          * make DMA address void* instead of caddr_t to avoid strict-aliasing violation
157          * add dummy statement to silence 'unused variable' warning.
158        - added header with RTEMS version checking macro. Unfortunately, many small
159          details of the RTEMS APIs change with versions :-( [e.g., changed type
160          from unsigned -> uint32_t in st_le32()]. Individual files can include
161          the new <rtems_verscheck.h> and test for RTEMS version to switch conditional
162          compilation (aaargh).
163        - header clash; <queue.h> (and others) are present in newlib and in RTEMS/bsdnet
164          but they use a different multiple-inclusion guard :-(. Must pick the right one...
165        2007/11/07 (TS)
166        - added ChangeLog
167        - moved arp_ifinit from libbsdport.h to libbsdport_post.h
168        - replaced inport_xxx/outport_xxx by in_xxx/out_xxx and _IO_BASE
169        - bookE has not mftb instruction :-( we must use mfspr
170          (but that wouldn't work on classic ppc if we were not
171          in supervisory mode).
172        - type adaptions in libbsdport.h to protect us against
173          alias rule and to silence warnings.
Note: See TracBrowser for help on using the repository browser.