1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
2010-03-07 Till Straumann <Till.Straumann@TU-Berlin.de>
* links.am: POSIXified sed commands for sake of portability.
2010-02-12 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/Makefile.am: Removed obsolete (and commented)
stuff.
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/libbsdport.h, if_em/e1000_osdep.h:
We need __BSD_VISIBLE defined. Some things in the rtems headers
changed with 4.10 (can't pinpoint the details). We now
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__ before explicitly
including <rtems/rtems_bsdnet.h> and this seemed to fix
things for 4.10.
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/libbsdport_post.h: added missing declaration
of m_defrag() (Chris replaced the dummy #define a while
ago and provided an implementation instead [thanks!] but
we also need a declaration).
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/ifmedia.c: fixed 'unused variable' warning
by removing unused var.
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_re/if_re.c: fixed 'unused variable' warning by
commenting via #ifndef __rtems__ (since code which uses
the 'msi_disable' var is commented the same way).
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_pcn/if_pcn.c: fixed 'type-punned pointer' warning.
Use 'memcpy' to copy 2 bytes to a short. This requires
another #ifdef __rtems__, however.
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_bge/if_bge.c: bge_intr must be passed as a 'handler'
to bus_setup_intr(). However, the irq_check_dis and irq_enable
methods seem to still be skeletons so this driver won't work...
(I have no hardware or emulation available to test).
2009-10-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libbsdport/alldrv.c: Revert.
2009-10-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* if_bge/if_bge.c, libbsdport/alldrv.c: Add local changes (untested).
2009-09-12 Chris Johns <chrisj@rtems.org>
* links.am: Fixed the links so they work with absolute paths.
2009-08-15 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_re/Makefile.am: added 'if_rlreg.h' to SOURCES so
that it is 'distributed'.
2009-08-15 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_em/31000_osdep.h: added missing 'void' return
type of __out_le32() inline function.
2009-08-06 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/rtems_callout.c: fixed possible race
condition. callout_stop() must check again from
critical/protected section of code if callout is still on
the list/active. Otherwise, the callout-task could
have executed and removed the callout between
callout_stop() checking the p_prev pointer and
entering the critical section.
2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_em/Makefile.am, if_em/e1000_osdep.h, if_em/if_em.c:
Changed 'e1000_osdep.h' to provide stdalone I/O methods for
select architectures (x86 and PPC -- others fall back on
libbsdport/bus.h). This lets the low-level driver (everything
except for 'if_em.c/if_em.h') API be independent of
BSD networking and libbsdport which is desirable since
certain applications may wish to just use the low-level
API for implementing dedicated 'raw-ethernet' drivers
for BSD-independent, proprietary GigE communication.
2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/alldrv.c: reactivate weak aliases for all
known/supported drivers. This magic allows the user to
just link the desired (sub-)set of drivers.
2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/libbsdport.h: define _KERNEL only if not defined already
(e.g., from Makefile).
2009-06-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libbsdport/alldrv.c, libbsdport/libbsdport_api.h: Add include
<stdio.h> for FILE *.
2009/05/12 (TS)
- bugfix: bus_write_2() must map to bus_space_write_2 (not 4)
2009/04/22 (TS)
- imported SLAC version into OAR repository; added FXP driver.
2008/03/22 (TS)
- silence more compiler warnings:
* make DMA address void* instead of caddr_t to avoid strict-aliasing violation
* add dummy statement to silence 'unused variable' warning.
- added header with RTEMS version checking macro. Unfortunately, many small
details of the RTEMS APIs change with versions :-( [e.g., changed type
from unsigned -> uint32_t in st_le32()]. Individual files can include
the new <rtems_verscheck.h> and test for RTEMS version to switch conditional
compilation (aaargh).
- header clash; <queue.h> (and others) are present in newlib and in RTEMS/bsdnet
but they use a different multiple-inclusion guard :-(. Must pick the right one...
2007/11/07 (TS)
- added ChangeLog
- moved arp_ifinit from libbsdport.h to libbsdport_post.h
- replaced inport_xxx/outport_xxx by in_xxx/out_xxx and _IO_BASE
- bookE has not mftb instruction :-( we must use mfspr
(but that wouldn't work on classic ppc if we were not
in supervisory mode).
- type adaptions in libbsdport.h to protect us against
alias rule and to silence warnings.
|