<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-04-27)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S, startup/linkcmds: Revert previous change. Remove
.reginfo from .bss section where it was present.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog.diff?r1=text&tr1=1.124&r2=text&tr2=1.125&diff_format=h">M</a></td><td width='1%'>1.125</td><td width='100%'>c/src/lib/libbsp/mips/jmr3904/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/jmr3904/start/start.S.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/mips/jmr3904/start/start.S</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>c/src/lib/libbsp/mips/jmr3904/startup/linkcmds</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.124 rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.125
--- rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.124 Sun Apr 25 11:11:03 2010
+++ rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog Tue Apr 27 12:11:03 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * start/start.S, startup/linkcmds: Revert previous change. Remove
+ .reginfo from .bss section where it was present.
+
</font> 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/jmr3904/start/start.S:1.9 rtems/c/src/lib/libbsp/mips/jmr3904/start/start.S:1.10
--- rtems/c/src/lib/libbsp/mips/jmr3904/start/start.S:1.9 Tue Apr 28 01:29:39 2009
+++ rtems/c/src/lib/libbsp/mips/jmr3904/start/start.S Tue Apr 27 12:11:03 2010
</font><font color='#997700'>@@ -124,7 +124,7 @@
</font> nop
3:
LA (gp, _gp) # set the global data pointer
<font color='#880000'>- .end _start
</font><font color='#000088'>+ .end _start_in_ram
</font>
/*
* zero out the bss section.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds:1.16 rtems/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds:1.17
--- rtems/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds:1.16 Sun Apr 25 11:11:03 2010
+++ rtems/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds Tue Apr 27 12:11:03 2010
</font><font color='#997700'>@@ -130,8 +130,7 @@
</font> *(.sbss*)
*(.scommon)
}
<font color='#880000'>-
- .bss (NOLOAD): {
</font><font color='#000088'>+ .bss : {
</font> _bss_start = . ;
*(.bss*)
*(COMMON)
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Revert previous change. Remove .reginfo from .bss
section where it was present.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/csb350/ChangeLog.diff?r1=text&tr1=1.60&r2=text&tr2=1.61&diff_format=h">M</a></td><td width='1%'>1.61</td><td width='100%'>c/src/lib/libbsp/mips/csb350/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/csb350/startup/linkcmds.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/mips/csb350/startup/linkcmds</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog.diff?r1=text&tr1=1.128&r2=text&tr2=1.129&diff_format=h">M</a></td><td width='1%'>1.129</td><td width='100%'>c/src/lib/libbsp/mips/genmongoosev/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>c/src/lib/libbsp/mips/hurricane/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/hurricane/startup/linkcmds.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/mips/hurricane/startup/linkcmds</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/rbtx4925/ChangeLog.diff?r1=text&tr1=1.44&r2=text&tr2=1.45&diff_format=h">M</a></td><td width='1%'>1.45</td><td width='100%'>c/src/lib/libbsp/mips/rbtx4925/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/rbtx4938/ChangeLog.diff?r1=text&tr1=1.45&r2=text&tr2=1.46&diff_format=h">M</a></td><td width='1%'>1.46</td><td width='100%'>c/src/lib/libbsp/mips/rbtx4938/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.60 rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.61
--- rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.60 Sun Apr 25 11:11:00 2010
+++ rtems/c/src/lib/libbsp/mips/csb350/ChangeLog Tue Apr 27 12:10:55 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/linkcmds: Revert previous change. Remove .reginfo from .bss
+ section where it was present.
+
</font> 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/csb350/startup/linkcmds:1.7 rtems/c/src/lib/libbsp/mips/csb350/startup/linkcmds:1.8
--- rtems/c/src/lib/libbsp/mips/csb350/startup/linkcmds:1.7 Sun Apr 25 11:11:00 2010
+++ rtems/c/src/lib/libbsp/mips/csb350/startup/linkcmds Tue Apr 27 12:10:55 2010
</font><font color='#997700'>@@ -19,6 +19,7 @@
</font> HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x4000;
<font color='#000088'>+
</font> MEMORY
{
ram : ORIGIN = 0x80400000, LENGTH = 12M
<font color='#997700'>@@ -157,11 +158,11 @@
</font> *(.scommon)
} >ram<span style="background-color: #FF0000"> </span>
<font color='#880000'>- .bss (NOLOAD):<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
+ .bss :<span style="background-color: #FF0000"> </span>
</font> {
_bss_start = . ;
*(.bss .bss.* .gnu.linkonce.b.*)
<font color='#880000'>- *(.reginfo)
</font> *(COMMON)
. = ALIGN (64);
_stack_limit = .;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog:1.128 rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog:1.129
--- rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog:1.128 Sun Apr 25 11:11:01 2010
+++ rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog Tue Apr 27 12:10:58 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/linkcmds: Revert previous change. Remove .reginfo from .bss
+ section where it was present.
+
</font> 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds:1.15 rtems/c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds:1.16
--- rtems/c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds:1.15 Sun Apr 25 11:11:01 2010
+++ rtems/c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds Tue Apr 27 12:10:58 2010
</font><font color='#997700'>@@ -156,11 +156,10 @@
</font> } >ram<span style="background-color: #FF0000"> </span>
<font color='#880000'>- .bss (NOLOAD):<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ .bss :<span style="background-color: #FF0000"> </span>
</font> {
_bss_start = . ;
*(.bss .bss.* .gnu.linkonce.b.*)
<font color='#880000'>- *(.reginfo)
</font> *(COMMON)
. = ALIGN (64);
_stack_limit = .;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.48 rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.49
--- rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.48 Sun Apr 25 11:11:02 2010
+++ rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog Tue Apr 27 12:11:00 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/linkcmds: Revert previous change. Remove .reginfo from .bss
+ section where it was present.
+
</font> 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/hurricane/startup/linkcmds:1.4 rtems/c/src/lib/libbsp/mips/hurricane/startup/linkcmds:1.5
--- rtems/c/src/lib/libbsp/mips/hurricane/startup/linkcmds:1.4 Sun Apr 25 11:11:02 2010
+++ rtems/c/src/lib/libbsp/mips/hurricane/startup/linkcmds Tue Apr 27 12:11:00 2010
</font><font color='#997700'>@@ -136,11 +136,9 @@
</font> *(.sbss)
*(.scommon)
}
<font color='#880000'>-
- .bss (NOLOAD): {
</font><font color='#000088'>+ .bss : {
</font> _bss_start = . ;
*(.bss)
<font color='#880000'>- *(.reginfo)
</font> *(COMMON)
. = ALIGN (64);
_stack_limit = .;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/rbtx4925/ChangeLog:1.44 rtems/c/src/lib/libbsp/mips/rbtx4925/ChangeLog:1.45
--- rtems/c/src/lib/libbsp/mips/rbtx4925/ChangeLog:1.44 Sun Apr 25 11:11:04 2010
+++ rtems/c/src/lib/libbsp/mips/rbtx4925/ChangeLog Tue Apr 27 12:11:06 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/linkcmds: Revert previous change. Remove .reginfo from .bss
+ section where it was present.
+
</font> 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds:1.4 rtems/c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds:1.5
--- rtems/c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds:1.4 Sun Apr 25 11:11:04 2010
+++ rtems/c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds Tue Apr 27 12:11:07 2010
</font><font color='#997700'>@@ -137,11 +137,9 @@
</font> *(.sbss)
*(.scommon)
}
<font color='#880000'>-
- .bss (NOLOAD): {
</font><font color='#000088'>+ .bss : {
</font> _bss_start = . ;
*(.bss)
<font color='#880000'>- *(.reginfo)
</font> *(COMMON)
. = ALIGN (64);
_stack_limit = .;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/rbtx4938/ChangeLog:1.45 rtems/c/src/lib/libbsp/mips/rbtx4938/ChangeLog:1.46
--- rtems/c/src/lib/libbsp/mips/rbtx4938/ChangeLog:1.45 Sun Apr 25 11:11:05 2010
+++ rtems/c/src/lib/libbsp/mips/rbtx4938/ChangeLog Tue Apr 27 12:11:10 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/linkcmds: Revert previous change. Remove .reginfo from .bss
+ section where it was present.
+
</font> 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds:1.4 rtems/c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds:1.5
--- rtems/c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds:1.4 Sun Apr 25 11:11:05 2010
+++ rtems/c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds Tue Apr 27 12:11:10 2010
</font><font color='#997700'>@@ -137,11 +137,9 @@
</font> *(.sbss)
*(.scommon)
}
<font color='#880000'>-
- .bss (NOLOAD): {
</font><font color='#000088'>+ .bss : {
</font> _bss_start = . ;
*(.bss)
<font color='#880000'>- *(.reginfo)
</font> *(COMMON)
. = ALIGN (64);
_stack_limit = .;
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c, startup/bspclean.c, startup/init5282.c: Remove
warnings.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog.diff?r1=text&tr1=1.113&r2=text&tr2=1.114&diff_format=h">M</a></td><td width='1%'>1.114</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c.diff?r1=text&tr1=1.28&r2=text&tr2=1.29&diff_format=h">M</a></td><td width='1%'>1.29</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/network/network.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/startup/init5282.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.113 rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.114
--- rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.113 Mon Apr 26 12:44:57 2010
+++ rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog Tue Apr 27 12:23:22 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * network/network.c, startup/bspclean.c, startup/init5282.c: Remove
+ warnings.
+
</font> 2010-04-26 Eric Norum <norume@aps.anl.gov>
* startup/bspstart.c: Clean up some warnings.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c:1.28 rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c:1.29
--- rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c:1.28 Mon Apr 26 12:44:57 2010
+++ rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c Tue Apr 27 12:23:22 2010
</font><font color='#997700'>@@ -197,10 +197,10 @@
</font> * Ensure 128-bit (16-byte) alignment
* Allow some space at the beginning for other diagnostic counters
*/
<font color='#000088'>+extern char __SRAMBASE[];
</font> static mcf5282BufferDescriptor_t *
mcf5282_bd_allocate(unsigned int count)
{
<font color='#880000'>- extern char __SRAMBASE[];
</font> static mcf5282BufferDescriptor_t *bdp = (mcf5282BufferDescriptor_t *)(__SRAMBASE+16);
mcf5282BufferDescriptor_t *p = bdp;
<font color='#997700'>@@ -758,63 +758,63 @@
</font> enet_stats(struct mcf5282_enet_struct *sc)
{
printf(" Rx Interrupts:%-10lu", sc->rxInterrupts);
<font color='#880000'>- printf("Rx Packet Count:%-10lu", MCF5282_FEC_RMON_R_PACKETS);
- printf(" Rx Broadcast:%-10lu\n", MCF5282_FEC_RMON_R_BC_PKT);
- printf(" Rx Multicast:%-10lu", MCF5282_FEC_RMON_R_MC_PKT);
- printf("CRC/Align error:%-10lu", MCF5282_FEC_RMON_R_CRC_ALIGN);
- printf(" Rx Undersize:%-10lu\n", MCF5282_FEC_RMON_R_UNDERSIZE);
- printf(" Rx Oversize:%-10lu", MCF5282_FEC_RMON_R_OVERSIZE);
- printf(" Rx Fragment:%-10lu", MCF5282_FEC_RMON_R_FRAG);
- printf(" Rx Jabber:%-10lu\n", MCF5282_FEC_RMON_R_JAB);
- printf(" Rx 64:%-10lu", MCF5282_FEC_RMON_R_P64);
- printf(" Rx 65-127:%-10lu", MCF5282_FEC_RMON_R_P65T0127);
- printf(" Rx 128-255:%-10lu\n", MCF5282_FEC_RMON_R_P128TO255);
- printf(" Rx 256-511:%-10lu", MCF5282_FEC_RMON_R_P256TO511);
- printf(" Rx 511-1023:%-10lu", MCF5282_FEC_RMON_R_P512TO1023);
- printf(" Rx 1024-2047:%-10lu\n", MCF5282_FEC_RMON_R_P1024TO2047);
- printf(" Rx >=2048:%-10lu", MCF5282_FEC_RMON_R_GTE2048);
- printf(" Rx Octets:%-10lu", MCF5282_FEC_RMON_R_OCTETS);
- printf(" Rx Dropped:%-10lu\n", MCF5282_FEC_IEEE_R_DROP);
- printf(" Rx frame OK:%-10lu", MCF5282_FEC_IEEE_R_FRAME_OK);
- printf(" Rx CRC error:%-10lu", MCF5282_FEC_IEEE_R_CRC);
- printf(" Rx Align error:%-10lu\n", MCF5282_FEC_IEEE_R_ALIGN);
- printf(" FIFO Overflow:%-10lu", MCF5282_FEC_IEEE_R_MACERR);
- printf("Rx Pause Frames:%-10lu", MCF5282_FEC_IEEE_R_FDXFC);
- printf(" Rx Octets OK:%-10lu\n", MCF5282_FEC_IEEE_R_OCTETS_OK);
</font><font color='#000088'>+ printf("Rx Packet Count:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_PACKETS);
+ printf(" Rx Broadcast:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_BC_PKT);
+ printf(" Rx Multicast:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_MC_PKT);
+ printf("CRC/Align error:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_CRC_ALIGN);
+ printf(" Rx Undersize:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_UNDERSIZE);
+ printf(" Rx Oversize:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_OVERSIZE);
+ printf(" Rx Fragment:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_FRAG);
+ printf(" Rx Jabber:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_JAB);
+ printf(" Rx 64:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P64);
+ printf(" Rx 65-127:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P65T0127);
+ printf(" Rx 128-255:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_P128TO255);
+ printf(" Rx 256-511:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P256TO511);
+ printf(" Rx 511-1023:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P512TO1023);
+ printf(" Rx 1024-2047:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_P1024TO2047);
+ printf(" Rx >=2048:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_GTE2048);
+ printf(" Rx Octets:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_OCTETS);
+ printf(" Rx Dropped:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_R_DROP);
+ printf(" Rx frame OK:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_FRAME_OK);
+ printf(" Rx CRC error:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_CRC);
+ printf(" Rx Align error:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_R_ALIGN);
+ printf(" FIFO Overflow:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_MACERR);
+ printf("Rx Pause Frames:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_FDXFC);
+ printf(" Rx Octets OK:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_R_OCTETS_OK);
</font> printf(" Tx Interrupts:%-10lu", sc->txInterrupts);
printf("Tx Output Waits:%-10lu", sc->txRawWait);
printf("Tx mbuf realign:%-10lu\n", sc->txRealign);
printf("Tx realign drop:%-10lu", sc->txRealignDrop);
<font color='#880000'>- printf(" Tx Unaccounted:%-10lu", MCF5282_FEC_RMON_T_DROP);
- printf("Tx Packet Count:%-10lu\n", MCF5282_FEC_RMON_T_PACKETS);
- printf(" Tx Broadcast:%-10lu", MCF5282_FEC_RMON_T_BC_PKT);
- printf(" Tx Multicast:%-10lu", MCF5282_FEC_RMON_T_MC_PKT);
- printf("CRC/Align error:%-10lu\n", MCF5282_FEC_RMON_T_CRC_ALIGN);
- printf(" Tx Undersize:%-10lu", MCF5282_FEC_RMON_T_UNDERSIZE);
- printf(" Tx Oversize:%-10lu", MCF5282_FEC_RMON_T_OVERSIZE);
- printf(" Tx Fragment:%-10lu\n", MCF5282_FEC_RMON_T_FRAG);
- printf(" Tx Jabber:%-10lu", MCF5282_FEC_RMON_T_JAB);
- printf(" Tx Collisions:%-10lu", MCF5282_FEC_RMON_T_COL);
- printf(" Tx 64:%-10lu\n", MCF5282_FEC_RMON_T_P64);
- printf(" Tx 65-127:%-10lu", MCF5282_FEC_RMON_T_P65TO127);
- printf(" Tx 128-255:%-10lu", MCF5282_FEC_RMON_T_P128TO255);
- printf(" Tx 256-511:%-10lu\n", MCF5282_FEC_RMON_T_P256TO511);
- printf(" Tx 511-1023:%-10lu", MCF5282_FEC_RMON_T_P512TO1023);
- printf(" Tx 1024-2047:%-10lu", MCF5282_FEC_RMON_T_P1024TO2047);
- printf(" Tx >=2048:%-10lu\n", MCF5282_FEC_RMON_T_P_GTE2048);
- printf(" Tx Octets:%-10lu", MCF5282_FEC_RMON_T_OCTETS);
- printf(" Tx Dropped:%-10lu", MCF5282_FEC_IEEE_T_DROP);
- printf(" Tx Frame OK:%-10lu\n", MCF5282_FEC_IEEE_T_FRAME_OK);
- printf(" Tx 1 Collision:%-10lu", MCF5282_FEC_IEEE_T_1COL);
- printf("Tx >1 Collision:%-10lu", MCF5282_FEC_IEEE_T_MCOL);
- printf(" Tx Deferred:%-10lu\n", MCF5282_FEC_IEEE_T_DEF);
- printf(" Late Collision:%-10lu", MCF5282_FEC_IEEE_T_LCOL);
- printf(" Excessive Coll:%-10lu", MCF5282_FEC_IEEE_T_EXCOL);
- printf(" FIFO Underrun:%-10lu\n", MCF5282_FEC_IEEE_T_MACERR);
- printf(" Carrier Error:%-10lu", MCF5282_FEC_IEEE_T_CSERR);
- printf(" Tx SQE Error:%-10lu", MCF5282_FEC_IEEE_T_SQE);
- printf("Tx Pause Frames:%-10lu\n", MCF5282_FEC_IEEE_T_FDXFC);
- printf(" Tx Octets OK:%-10lu", MCF5282_FEC_IEEE_T_OCTETS_OK);
</font><font color='#000088'>+ printf(" Tx Unaccounted:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_DROP);
+ printf("Tx Packet Count:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_PACKETS);
+ printf(" Tx Broadcast:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_BC_PKT);
+ printf(" Tx Multicast:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_MC_PKT);
+ printf("CRC/Align error:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_CRC_ALIGN);
+ printf(" Tx Undersize:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_UNDERSIZE);
+ printf(" Tx Oversize:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_OVERSIZE);
+ printf(" Tx Fragment:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_FRAG);
+ printf(" Tx Jabber:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_JAB);
+ printf(" Tx Collisions:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_COL);
+ printf(" Tx 64:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_P64);
+ printf(" Tx 65-127:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P65TO127);
+ printf(" Tx 128-255:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P128TO255);
+ printf(" Tx 256-511:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_P256TO511);
+ printf(" Tx 511-1023:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P512TO1023);
+ printf(" Tx 1024-2047:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P1024TO2047);
+ printf(" Tx >=2048:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_P_GTE2048);
+ printf(" Tx Octets:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_OCTETS);
+ printf(" Tx Dropped:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_DROP);
+ printf(" Tx Frame OK:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_FRAME_OK);
+ printf(" Tx 1 Collision:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_1COL);
+ printf("Tx >1 Collision:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_MCOL);
+ printf(" Tx Deferred:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_DEF);
+ printf(" Late Collision:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_LCOL);
+ printf(" Excessive Coll:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_EXCOL);
+ printf(" FIFO Underrun:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_MACERR);
+ printf(" Carrier Error:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_CSERR);
+ printf(" Tx SQE Error:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_SQE);
+ printf("Tx Pause Frames:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_FDXFC);
+ printf(" Tx Octets OK:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_OCTETS_OK);
</font> printf(" MII interrupts:%-10lu\n", sc->miiInterrupts);
if ((sc->mii_sr2 & 0x400) == 0) {
printf("LINK DOWN!\n");
<font color='#997700'>@@ -838,15 +838,15 @@
</font> speed,
full ? "full" : "half");
}
<font color='#880000'>- printf(" EIR:%8.8lx ", MCF5282_FEC_EIR);
- printf("EIMR:%8.8lx ", MCF5282_FEC_EIMR);
- printf("RDAR:%8.8lx ", MCF5282_FEC_RDAR);
- printf("TDAR:%8.8lx\n", MCF5282_FEC_TDAR);
- printf(" ECR:%8.8lx ", MCF5282_FEC_ECR);
- printf(" RCR:%8.8lx ", MCF5282_FEC_RCR);
- printf(" TCR:%8.8lx\n", MCF5282_FEC_TCR);
- printf("FRBR:%8.8lx ", MCF5282_FEC_FRBR);
- printf("FRSR:%8.8lx\n", MCF5282_FEC_FRSR);
</font><font color='#000088'>+ printf(" EIR:%8.8lx ", (uint32_t) MCF5282_FEC_EIR);
+ printf("EIMR:%8.8lx ", (uint32_t) MCF5282_FEC_EIMR);
+ printf("RDAR:%8.8lx ", (uint32_t) MCF5282_FEC_RDAR);
+ printf("TDAR:%8.8lx\n", (uint32_t) MCF5282_FEC_TDAR);
+ printf(" ECR:%8.8lx ", (uint32_t) MCF5282_FEC_ECR);
+ printf(" RCR:%8.8lx ", (uint32_t) MCF5282_FEC_RCR);
+ printf(" TCR:%8.8lx\n", (uint32_t) MCF5282_FEC_TCR);
+ printf("FRBR:%8.8lx ", (uint32_t) MCF5282_FEC_FRBR);
+ printf("FRSR:%8.8lx\n", (uint32_t) MCF5282_FEC_FRSR);
</font> if (sc->txBdActiveCount != 0) {
int i, n;
/*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c:1.5 rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c:1.6
--- rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c:1.5 Mon Mar 12 06:18:23 2007
+++ rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c Tue Apr 27 12:23:22 2010
</font><font color='#997700'>@@ -19,6 +19,8 @@
</font> #include <bsp.h>
#include <rtems/bspIo.h>
<font color='#000088'>+extern void bsp_reset(int);
+
</font> void bsp_cleanup( void )
{
bsp_reset(0);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c:1.6 rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c:1.7
--- rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c:1.6 Sun Nov 29 08:59:41 2009
+++ rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c Tue Apr 27 12:23:22 2010
</font><font color='#997700'>@@ -23,10 +23,10 @@
</font> #define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
<font color='#000088'>+ extern void CopyDataClearBSSAndStart (void);
+
</font> void Init5282 (void)
{
<font color='#880000'>- extern void CopyDataClearBSSAndStart (void);
-
</font> /*
* Copy data, clear BSS and call boot_card()
*/
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c, startup/bspstart.c: Remove warnings. hwaddr
handling changed to avoid use of unitialized variable.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog.diff?r1=text&tr1=1.53&r2=text&tr2=1.54&diff_format=h">M</a></td><td width='1%'>1.54</td><td width='100%'>c/src/lib/libbsp/m68k/av5282/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/av5282/network/network.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/m68k/av5282/network/network.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>c/src/lib/libbsp/m68k/av5282/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog:1.53 rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog:1.54
--- rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog:1.53 Thu Dec 17 02:42:15 2009
+++ rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog Tue Apr 27 12:33:53 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * network/network.c, startup/bspstart.c: Remove warnings. hwaddr
+ handling changed to avoid use of unitialized variable.
+
</font> 2009-12-16 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* console/console.c: adapted to new prototype for *_write
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/av5282/network/network.c:1.5 rtems/c/src/lib/libbsp/m68k/av5282/network/network.c:1.6
--- rtems/c/src/lib/libbsp/m68k/av5282/network/network.c:1.5 Sun Nov 29 08:59:40 2009
+++ rtems/c/src/lib/libbsp/m68k/av5282/network/network.c Tue Apr 27 12:33:53 2010
</font><font color='#997700'>@@ -149,10 +149,11 @@
</font> * Allocate buffer descriptors from (non-cached) on-chip static RAM
* Ensure 128-bit (16-byte) alignment
*/
<font color='#000088'>+extern char __SRAMBASE[];
+
</font> static mcf5282BufferDescriptor_t *
mcf5282_bd_allocate(unsigned int count)
{
<font color='#880000'>- extern char __SRAMBASE[];
</font> static mcf5282BufferDescriptor_t *bdp = (mcf5282BufferDescriptor_t *)__SRAMBASE;
mcf5282BufferDescriptor_t *p = bdp;
<font color='#997700'>@@ -714,63 +715,97 @@
</font> static void
enet_stats(struct mcf5282_enet_struct *sc)
{
<font color='#880000'>- printf(" Rx Interrupts:%-10lu", sc->rxInterrupts);
- printf("Rx Packet Count:%-10lu", MCF5282_FEC_RMON_R_PACKETS);
- printf(" Rx Broadcast:%-10lu\n", MCF5282_FEC_RMON_R_BC_PKT);
- printf(" Rx Multicast:%-10lu", MCF5282_FEC_RMON_R_MC_PKT);
- printf("CRC/Align error:%-10lu", MCF5282_FEC_RMON_R_CRC_ALIGN);
- printf(" Rx Undersize:%-10lu\n", MCF5282_FEC_RMON_R_UNDERSIZE);
- printf(" Rx Oversize:%-10lu", MCF5282_FEC_RMON_R_OVERSIZE);
- printf(" Rx Fragment:%-10lu", MCF5282_FEC_RMON_R_FRAG);
- printf(" Rx Jabber:%-10lu\n", MCF5282_FEC_RMON_R_JAB);
- printf(" Rx 64:%-10lu", MCF5282_FEC_RMON_R_P64);
- printf(" Rx 65-127:%-10lu", MCF5282_FEC_RMON_R_P65T0127);
- printf(" Rx 128-255:%-10lu\n", MCF5282_FEC_RMON_R_P128TO255);
- printf(" Rx 256-511:%-10lu", MCF5282_FEC_RMON_R_P256TO511);
- printf(" Rx 511-1023:%-10lu", MCF5282_FEC_RMON_R_P512TO1023);
- printf(" Rx 1024-2047:%-10lu\n", MCF5282_FEC_RMON_R_P1024TO2047);
- printf(" Rx >=2048:%-10lu", MCF5282_FEC_RMON_R_GTE2048);
- printf(" Rx Octets:%-10lu", MCF5282_FEC_RMON_R_OCTETS);
- printf(" Rx Dropped:%-10lu\n", MCF5282_FEC_IEEE_R_DROP);
- printf(" Rx frame OK:%-10lu", MCF5282_FEC_IEEE_R_FRAME_OK);
- printf(" Rx CRC error:%-10lu", MCF5282_FEC_IEEE_R_CRC);
- printf(" Rx Align error:%-10lu\n", MCF5282_FEC_IEEE_R_ALIGN);
- printf(" FIFO Overflow:%-10lu", MCF5282_FEC_IEEE_R_MACERR);
- printf("Rx Pause Frames:%-10lu", MCF5282_FEC_IEEE_R_FDXFC);
- printf(" Rx Octets OK:%-10lu\n", MCF5282_FEC_IEEE_R_OCTETS_OK);
- printf(" Tx Interrupts:%-10lu", sc->txInterrupts);
- printf("Tx Output Waits:%-10lu", sc->txRawWait);
- printf("Tx Realignments:%-10lu\n", sc->txRealign);
- printf(" Tx Unaccounted:%-10lu", MCF5282_FEC_RMON_T_DROP);
- printf("Tx Packet Count:%-10lu", MCF5282_FEC_RMON_T_PACKETS);
- printf(" Tx Broadcast:%-10lu\n", MCF5282_FEC_RMON_T_BC_PKT);
- printf(" Tx Multicast:%-10lu", MCF5282_FEC_RMON_T_MC_PKT);
- printf("CRC/Align error:%-10lu", MCF5282_FEC_RMON_T_CRC_ALIGN);
- printf(" Tx Undersize:%-10lu\n", MCF5282_FEC_RMON_T_UNDERSIZE);
- printf(" Tx Oversize:%-10lu", MCF5282_FEC_RMON_T_OVERSIZE);
- printf(" Tx Fragment:%-10lu", MCF5282_FEC_RMON_T_FRAG);
- printf(" Tx Jabber:%-10lu\n", MCF5282_FEC_RMON_T_JAB);
- printf(" Tx Collisions:%-10lu", MCF5282_FEC_RMON_T_COL);
- printf(" Tx 64:%-10lu", MCF5282_FEC_RMON_T_P64);
- printf(" Tx 65-127:%-10lu\n", MCF5282_FEC_RMON_T_P65TO127);
- printf(" Tx 128-255:%-10lu", MCF5282_FEC_RMON_T_P128TO255);
- printf(" Tx 256-511:%-10lu", MCF5282_FEC_RMON_T_P256TO511);
- printf(" Tx 511-1023:%-10lu\n", MCF5282_FEC_RMON_T_P512TO1023);
- printf(" Tx 1024-2047:%-10lu", MCF5282_FEC_RMON_T_P1024TO2047);
- printf(" Tx >=2048:%-10lu", MCF5282_FEC_RMON_T_P_GTE2048);
- printf(" Tx Octets:%-10lu\n", MCF5282_FEC_RMON_T_OCTETS);
- printf(" Tx Dropped:%-10lu", MCF5282_FEC_IEEE_T_DROP);
- printf(" Tx Frame OK:%-10lu", MCF5282_FEC_IEEE_T_FRAME_OK);
- printf(" Tx 1 Collision:%-10lu\n", MCF5282_FEC_IEEE_T_1COL);
- printf("Tx >1 Collision:%-10lu", MCF5282_FEC_IEEE_T_MCOL);
- printf(" Tx Deferred:%-10lu", MCF5282_FEC_IEEE_T_DEF);
- printf(" Late Collision:%-10lu\n", MCF5282_FEC_IEEE_T_LCOL);
- printf(" Excessive Coll:%-10lu", MCF5282_FEC_IEEE_T_EXCOL);
- printf(" FIFO Underrun:%-10lu", MCF5282_FEC_IEEE_T_MACERR);
- printf(" Carrier Error:%-10lu\n", MCF5282_FEC_IEEE_T_CSERR);
- printf(" Tx SQE Error:%-10lu", MCF5282_FEC_IEEE_T_SQE);
- printf("Tx Pause Frames:%-10lu", MCF5282_FEC_IEEE_T_FDXFC);
- printf(" Tx Octets OK:%-10lu\n", MCF5282_FEC_IEEE_T_OCTETS_OK);
</font><font color='#000088'>+ printf(" Rx Interrupts:%-10lu", sc->rxInterrupts);
+ printf("Rx Packet Count:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_PACKETS);
+ printf(" Rx Broadcast:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_BC_PKT);
+ printf(" Rx Multicast:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_MC_PKT);
+ printf("CRC/Align error:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_CRC_ALIGN);
+ printf(" Rx Undersize:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_UNDERSIZE);
+ printf(" Rx Oversize:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_OVERSIZE);
+ printf(" Rx Fragment:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_FRAG);
+ printf(" Rx Jabber:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_JAB);
+ printf(" Rx 64:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P64);
+ printf(" Rx 65-127:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P65T0127);
+ printf(" Rx 128-255:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_P128TO255);
+ printf(" Rx 256-511:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P256TO511);
+ printf(" Rx 511-1023:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_P512TO1023);
+ printf(" Rx 1024-2047:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_R_P1024TO2047);
+ printf(" Rx >=2048:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_GTE2048);
+ printf(" Rx Octets:%-10lu", (uint32_t) MCF5282_FEC_RMON_R_OCTETS);
+ printf(" Rx Dropped:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_R_DROP);
+ printf(" Rx frame OK:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_FRAME_OK);
+ printf(" Rx CRC error:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_CRC);
+ printf(" Rx Align error:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_R_ALIGN);
+ printf(" FIFO Overflow:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_MACERR);
+ printf("Rx Pause Frames:%-10lu", (uint32_t) MCF5282_FEC_IEEE_R_FDXFC);
+ printf(" Rx Octets OK:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_R_OCTETS_OK);
+ printf(" Tx Interrupts:%-10lu", sc->txInterrupts);
+ printf("Tx Output Waits:%-10lu", sc->txRawWait);
+ printf("Tx mbuf realign:%-10lu\n", sc->txRealign);
+ printf("Tx realign drop:%-10lu", sc->txRealignDrop);
+ printf(" Tx Unaccounted:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_DROP);
+ printf("Tx Packet Count:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_PACKETS);
+ printf(" Tx Broadcast:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_BC_PKT);
+ printf(" Tx Multicast:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_MC_PKT);
+ printf("CRC/Align error:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_CRC_ALIGN);
+ printf(" Tx Undersize:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_UNDERSIZE);
+ printf(" Tx Oversize:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_OVERSIZE);
+ printf(" Tx Fragment:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_FRAG);
+ printf(" Tx Jabber:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_JAB);
+ printf(" Tx Collisions:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_COL);
+ printf(" Tx 64:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_P64);
+ printf(" Tx 65-127:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P65TO127);
+ printf(" Tx 128-255:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P128TO255);
+ printf(" Tx 256-511:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_P256TO511);
+ printf(" Tx 511-1023:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P512TO1023);
+ printf(" Tx 1024-2047:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_P1024TO2047);
+ printf(" Tx >=2048:%-10lu\n", (uint32_t) MCF5282_FEC_RMON_T_P_GTE2048);
+ printf(" Tx Octets:%-10lu", (uint32_t) MCF5282_FEC_RMON_T_OCTETS);
+ printf(" Tx Dropped:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_DROP);
+ printf(" Tx Frame OK:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_FRAME_OK);
+ printf(" Tx 1 Collision:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_1COL);
+ printf("Tx >1 Collision:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_MCOL);
+ printf(" Tx Deferred:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_DEF);
+ printf(" Late Collision:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_LCOL);
+ printf(" Excessive Coll:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_EXCOL);
+ printf(" FIFO Underrun:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_MACERR);
+ printf(" Carrier Error:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_CSERR);
+ printf(" Tx SQE Error:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_SQE);
+ printf("Tx Pause Frames:%-10lu\n", (uint32_t) MCF5282_FEC_IEEE_T_FDXFC);
+ printf(" Tx Octets OK:%-10lu", (uint32_t) MCF5282_FEC_IEEE_T_OCTETS_OK);
+ printf(" MII interrupts:%-10lu\n", sc->miiInterrupts);
+
+ printf(" EIR:%8.8lx ", (uint32_t) MCF5282_FEC_EIR);
+ printf("EIMR:%8.8lx ", (uint32_t) MCF5282_FEC_EIMR);
+ printf("RDAR:%8.8lx ", (uint32_t) MCF5282_FEC_RDAR);
+ printf("TDAR:%8.8lx\n", (uint32_t) MCF5282_FEC_TDAR);
+ printf(" ECR:%8.8lx ", (uint32_t) MCF5282_FEC_ECR);
+ printf(" RCR:%8.8lx ", (uint32_t) MCF5282_FEC_RCR);
+ printf(" TCR:%8.8lx\n", (uint32_t) MCF5282_FEC_TCR);
+ printf("FRBR:%8.8lx ", (uint32_t) MCF5282_FEC_FRBR);
+ printf("FRSR:%8.8lx\n", (uint32_t) MCF5282_FEC_FRSR);
+ if (sc->txBdActiveCount != 0) {
+ int i, n;
+ /*
+ * Yes, there are races here with adding and retiring descriptors,
+ * but this diagnostic is more for when things have backed up.
+ */
+ printf("Transmit Buffer Descriptors (Tail %d, Head %d, Unretired %d):\n",
+ sc->txBdTail,
+ sc->txBdHead,
+ sc->txBdActiveCount);
+ i = sc->txBdTail;
+ for (n = 0 ; n < sc->txBdCount ; n++) {
+ if ((sc->txBdBase[i].status & MCF5282_FEC_TxBD_R) != 0)
+ printf(" %3d: status:%4.4x length:%-4d buffer:%p\n",
+ i,
+ sc->txBdBase[i].status,
+ sc->txBdBase[i].length,
+ sc->txBdBase[i].buffer);
+ if (++i == sc->txBdCount)
+ i = 0;
+ }
+ }
</font> }
static int
<font color='#997700'>@@ -852,14 +887,16 @@
</font> /*
* Process options
*/
<font color='#000088'>+ printf("%s%d: Ethernet address: ", unitName, unitNumber );
</font> if (config->hardware_address) {
hwaddr = config->hardware_address;
<font color='#000088'>+ printf("%02x:%02x:%02x:%02x:%02x:%02x\n",
+ hwaddr[0], hwaddr[1], hwaddr[2],
+ hwaddr[3], hwaddr[4], hwaddr[5]);
+ memcpy(sc->arpcom.ac_enaddr, hwaddr, ETHER_ADDR_LEN);
+ } else {
+ printf("UNKNOWN\n");
</font> }
<font color='#880000'>- printf("%s%d: Ethernet address: %02x:%02x:%02x:%02x:%02x:%02x\n",
- unitName, unitNumber,
- hwaddr[0], hwaddr[1], hwaddr[2],
- hwaddr[3], hwaddr[4], hwaddr[5]);
- memcpy(sc->arpcom.ac_enaddr, hwaddr, ETHER_ADDR_LEN);
</font>
if (config->mtu)
mtu = config->mtu;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c:1.13 rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c:1.14
--- rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c:1.13 Sun Nov 29 08:59:40 2009
+++ rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c Tue Apr 27 12:33:53 2010
</font><font color='#997700'>@@ -35,7 +35,6 @@
</font> /*
* CPU-space access
*/
<font color='#880000'>-#define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr\n\tnop" : : "d" (_cacr))
</font> #define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>